mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
Neil Roberts
cda5ea771b
cogl-pipeline-glsl: Don't use gl_PointCoord on OpenGL
We don't want to use gl_PointCoord to implement point sprites on big GL because in that case we already use glTexEnv(GL_COORD_REPLACE) to replace the texture coords with the point sprite coords. Although GL also supports the gl_PointCoord variable, it requires GLSL 1.2 which would mean we would have to declare the GLSL version and check for it. We continue to use gl_PointCoord for GLES2 because it has no glTexEnv function.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%