Explorar el Código

math: remove coercion rules in the vector classes, they increase the

compilation time for very little benefit and maybe even confusion.
master
Sam Hocevar hace 12 años
padre
commit
88075b5aba
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      neercs/video/text-render.cpp

+ 1
- 1
neercs/video/text-render.cpp Ver fichero

@@ -186,7 +186,7 @@ void TextRender::Blit(ivec2 pos, ivec2 size)
glBindTexture(GL_TEXTURE_2D, (int)x);
glColor3f(1.0f, 1.0f, 1.0f);

vec2 tc = (vec2)m_canvas_size * m_font_size / m_fbo_size;
vec2 tc = (vec2)m_canvas_size * (vec2)m_font_size / (vec2)m_fbo_size;

glLoadIdentity();
glBegin(GL_QUADS);


Cargando…
Cancelar
Guardar