summaryrefslogtreecommitdiffstats
path: root/src/glsl/standalone_scaffolding.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-24 13:01:18 -0700
committerIan Romanick <[email protected]>2011-08-24 14:33:31 -0700
commit707d614d100ae7fc72572b686e304dac47e11c87 (patch)
treefcc7f6be94e5ebde375a11f6199da9da3070c1a6 /src/glsl/standalone_scaffolding.cpp
parent038d654bcb4e9d88eab420cefc3169d4845db4c9 (diff)
glsl: Make sure that Extensions.dummy_true is set to true
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/standalone_scaffolding.cpp')
-rw-r--r--src/glsl/standalone_scaffolding.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/standalone_scaffolding.cpp b/src/glsl/standalone_scaffolding.cpp
index 696ea757e96..bbd7bb91310 100644
--- a/src/glsl/standalone_scaffolding.cpp
+++ b/src/glsl/standalone_scaffolding.cpp
@@ -63,6 +63,8 @@ void initialize_context_to_defaults(struct gl_context *ctx, gl_api api)
ctx->API = api;
+ ctx->Extensions.dummy_false = false;
+ ctx->Extensions.dummy_true = true;
ctx->Extensions.ARB_ES2_compatibility = true;
ctx->Extensions.ARB_draw_buffers = true;
ctx->Extensions.ARB_draw_instanced = true;