case GL_OCCLUSION_TEST_RESULT_HP:
CHECK_EXTENSION_B(HP_occlusion_test, pname);
{
+ FLUSH_VERTICES(ctx, _NEW_DEPTH);
if (ctx->Depth.OcclusionTest)
params[0] = ctx->OcclusionResult;
else
case GL_OCCLUSION_TEST_RESULT_HP:
CHECK_EXTENSION_F(HP_occlusion_test, pname);
{
+ FLUSH_VERTICES(ctx, _NEW_DEPTH);
if (ctx->Depth.OcclusionTest)
params[0] = ctx->OcclusionResult;
else
case GL_OCCLUSION_TEST_RESULT_HP:
CHECK_EXTENSION_I(HP_occlusion_test, pname);
{
+ FLUSH_VERTICES(ctx, _NEW_DEPTH);
if (ctx->Depth.OcclusionTest)
params[0] = ctx->OcclusionResult;
else
( "GL_OCCLUSION_TEST_HP", GLboolean, ["ctx->Depth.OcclusionTest"], "",
"HP_occlusion_test" ),
( "GL_OCCLUSION_TEST_RESULT_HP", GLboolean, [],
- """if (ctx->Depth.OcclusionTest)
+ """FLUSH_VERTICES(ctx, _NEW_DEPTH);
+ if (ctx->Depth.OcclusionTest)
params[0] = ctx->OcclusionResult;
else
params[0] = ctx->OcclusionResultSaved;