summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/shaderobjects.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-04-07 14:38:41 +0000
committerBrian Paul <[email protected]>2005-04-07 14:38:41 +0000
commitd9c389dff6836ea0e3b79f3682378f6998875399 (patch)
treebd36cb98ef91f851d3e62e65af4eee30285b989f /src/mesa/shader/shaderobjects.c
parentc51ed8c2364b9e86a138cdb07fe2293ccc88f678 (diff)
Add shaderobjects_3dlabs.c back into build but use #ifdef FEATURE_shading_language to enable/disable relevant code.
Diffstat (limited to 'src/mesa/shader/shaderobjects.c')
-rw-r--r--src/mesa/shader/shaderobjects.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/shader/shaderobjects.c b/src/mesa/shader/shaderobjects.c
index 791ab608153..ac8ff1af487 100644
--- a/src/mesa/shader/shaderobjects.c
+++ b/src/mesa/shader/shaderobjects.c
@@ -130,9 +130,7 @@ _mesa_DetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj)
GLhandleARB GLAPIENTRY
_mesa_CreateShaderObjectARB (GLenum shaderType)
{
-#if FEATURE_shading_language
return _mesa_3dlabs_create_shader_object (shaderType);
-#endif
}
void GLAPIENTRY
@@ -235,9 +233,7 @@ _mesa_CompileShaderARB (GLhandleARB shaderObj)
GLhandleARB GLAPIENTRY
_mesa_CreateProgramObjectARB (void)
{
-#if FEATURE_shading_language
return _mesa_3dlabs_create_program_object ();
-#endif
}
void GLAPIENTRY
@@ -1181,8 +1177,6 @@ _mesa_init_shaderobjects (GLcontext *ctx)
{
ctx->ShaderObjects.current_program = NULL;
-#if FEATURE_shading_language
_mesa_init_shaderobjects_3dlabs (ctx);
-#endif
}