Mesa (master): glsl: Make sure that Extensions.dummy_true is set to true

Ian Romanick idr at kemper.freedesktop.org
Wed Aug 24 14:35:01 PDT 2011


Module: Mesa
Branch: master
Commit: 707d614d100ae7fc72572b686e304dac47e11c87
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=707d614d100ae7fc72572b686e304dac47e11c87

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 24 13:01:18 2011 -0700

glsl: Make sure that Extensions.dummy_true is set to true

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>

---

 src/glsl/standalone_scaffolding.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/glsl/standalone_scaffolding.cpp b/src/glsl/standalone_scaffolding.cpp
index 696ea75..bbd7bb9 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;



More information about the mesa-commit mailing list