return;
FLUSH_VERTICES(ctx, _NEW_HINT);
ctx->Hint.GenerateMipmap = mode;
+ break;\r
+\r
+ /* GL_ARB_fragment_shader */\r
+ case GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB:\r
+ if (!ctx->Extensions.ARB_fragment_shader) {\r
+ _mesa_error(ctx, GL_INVALID_ENUM, "glHint(target)");\r
+ return;\r
+ }\r
+ if (ctx->Hint.FragmentShaderDerivative == mode)\r
+ return;\r
+ FLUSH_VERTICES(ctx, _NEW_HINT);\r
+ ctx->Hint.FragmentShaderDerivative = mode;\r
break;
default:
ctx->Hint.Fog = GL_DONT_CARE;
ctx->Hint.ClipVolumeClipping = GL_DONT_CARE;
ctx->Hint.TextureCompression = GL_DONT_CARE;
- ctx->Hint.GenerateMipmap = GL_DONT_CARE;
+ ctx->Hint.GenerateMipmap = GL_DONT_CARE;\r
+ ctx->Hint.FragmentShaderDerivative = GL_DONT_CARE;
}