Browse Source

gl: force version 1.30 for all shaders.

legacy
Sam Hocevar sam 13 years ago
parent
commit
e6c6f59327
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      src/video.cpp

+ 0
- 4
src/video.cpp View File

@@ -35,9 +35,7 @@ Shader *stdshader;
mat4 proj_matrix, view_matrix, model_matrix;

static char const *vertexshader =
#if defined HAVE_GL_2X
"#version 130\n"
#endif
"\n"
#if defined HAVE_GLES_2X
"attribute vec3 in_Position;\n"
@@ -66,9 +64,7 @@ static char const *vertexshader =
"}\n";

static char const *fragmentshader =
#if !defined HAVE_GLES_2X
"#version 130\n"
#endif
"\n"
"uniform sampler2D in_Texture;\n"
//"in vec3 pass_Color;\n"


Loading…
Cancel
Save