From 8e2afeba559063616ccaa356d1658cb274e0fe45 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 19 Nov 2012 08:11:22 +0000 Subject: [PATCH] neercs: deactivate OpenGL code when we build for OpenGL ES. --- neercs/video/text-render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neercs/video/text-render.cpp b/neercs/video/text-render.cpp index 3bf330e..4069d3e 100644 --- a/neercs/video/text-render.cpp +++ b/neercs/video/text-render.cpp @@ -122,9 +122,9 @@ void TextRender::Render() glEnable(GL_POINT_SPRITE); //glEnable(GL_VERTEX_PROGRAM_POINT_SIZE); glDisable(GL_POINT_SMOOTH); -#endif glEnable(GL_VERTEX_PROGRAM_POINT_SIZE); glTexEnvi(GL_POINT_SPRITE, GL_COORD_REPLACE, GL_TRUE); +#endif m_shader->Bind(); m_font->Bind(); m_shader->SetUniform(m_texture, 0);