Skip to content

Commit

Permalink
version 150 > 430 for glsl
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sowden <[email protected]>
  • Loading branch information
hogsy committed Feb 17, 2025
1 parent 6cfba39 commit 7d0ac72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/driver_opengl/opengl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ static char *GLPreProcessGLSLShader( PLGShaderStage *stage, char *buf, size_t *l
/* built-ins */
#define insert( str ) dstPos = InsertString( ( str ), &dstBuffer, &actualLength, &maxLength )
if ( head ) {
insert( "#version 150 core\n" );//OpenGL 3.2 == GLSL 150
insert( "#version 430 core\n" );//OpenGL 3.2 == GLSL 150
insert( "uniform mat4 pl_model;\n" );
insert( "uniform mat4 pl_view;\n" );
insert( "uniform mat4 pl_proj;\n" );
Expand Down

0 comments on commit 7d0ac72

Please sign in to comment.