aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render.c b/src/render.c
index 3995c74..f518b90 100644
--- a/src/render.c
+++ b/src/render.c
@@ -194,8 +194,8 @@ RenderContext *render_setup(int width, int height, int disable_vbos, int disable
}
if ( disable_shaders == 0 ) {
- if ( ( GLEW_ARB_vertex_shader && GLEW_ARB_fragment_shader && GLEW_ARB_shader_objects && GLEW_ARB_shading_language_100 )
- || GLEW_VERSION_2_0 ) {
+ if ( ( GLEW_ARB_vertex_shader && GLEW_ARB_fragment_shader && GLEW_ARB_shader_objects
+ && GLEW_ARB_shading_language_100 ) || GLEW_VERSION_2_0 ) {
r->shaders = 1;
} else {
r->shaders = 0;