GLSLESProgramPipeline::~GLSLESProgramPipeline()
    {
#if GL_EXT_separate_shader_objects
        glDeleteProgramPipelinesEXT(1, &mGLProgramPipelineHandle);
        GL_CHECK_ERROR;
#endif
    }
GLSLESProgramPipeline::~GLSLESProgramPipeline()
{
#if GL_EXT_separate_shader_objects && OGRE_PLATFORM != OGRE_PLATFORM_NACL
    OGRE_IF_IOS_VERSION_IS_GREATER_THAN(5.0)
    OGRE_CHECK_GL_ERROR(glDeleteProgramPipelinesEXT(1, &mGLProgramPipelineHandle));
#endif
}
    GLSLESProgramPipeline::~GLSLESProgramPipeline()
    {
#if GL_EXT_separate_shader_objects && OGRE_PLATFORM != OGRE_PLATFORM_NACL
        glDeleteProgramPipelinesEXT(1, &mGLProgramPipelineHandle);
        GL_CHECK_ERROR;
#endif
    }
예제 #4
0
    GLSLESProgramPipeline::~GLSLESProgramPipeline()
    {
#if OGRE_PLATFORM != OGRE_PLATFORM_NACL
        OGRE_CHECK_GL_ERROR(glDeleteProgramPipelinesEXT(1, &mGLProgramPipelineHandle));
#endif
    }
예제 #5
0
 void GLSLESProgramPipeline::notifyOnContextLost()
 {
     OGRE_CHECK_GL_ERROR(glDeleteProgramPipelinesEXT(1, &mGLProgramPipelineHandle));
     mGLProgramPipelineHandle = 0;
     GLSLESProgramCommon::notifyOnContextLost();
 }
JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglDeleteProgramPipelinesEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong pipelinesAddress) {
    glDeleteProgramPipelinesEXTPROC glDeleteProgramPipelinesEXT = (glDeleteProgramPipelinesEXTPROC)tlsGetFunction(487);
    intptr_t pipelines = (intptr_t)pipelinesAddress;
    UNUSED_PARAM(clazz)
    glDeleteProgramPipelinesEXT(n, pipelines);
}