Skip to content

Commit 22f14d5

Browse files
committed
Revert "GLSL: Provide a dynamic #version directive to the shaders, in line with OpenGL standards"
This reverts commit 0345d09.
1 parent 5f4568c commit 22f14d5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

code/graphics/gropenglshader.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,6 @@ void opengl_shader_shutdown()
304304
static char *opengl_load_shader(shader_type type_id, char *filename, int flags)
305305
{
306306
SCP_string sflags;
307-
char version_string[15];
308-
309-
sprintf(version_string, "#version %d \n", GLSL_version);
310-
sflags += version_string;
311307

312308
#ifdef __APPLE__
313309
sflags += "#define APPLE\n";

0 commit comments

Comments
 (0)