glDeleteRenderbuffersEXT via remote desktop

206 views Asked by At

I have an application that uses OpenGL. If I connect to a computer via Windows Remote Desktop I get an exception "Extension function glDeleteRenderbuffersEXT not supported" from my application.

I think the exception is caused because Remote Desktop does not support the extension.

My plan is to detect if the extension is available and skip rendering if not. The application is written in C# and uses SharpGL.

How can I detect in my application if the glDeleteRenderbuffersEXT extension is available?

1

There are 1 answers

2
datenwolf On BEST ANSWER

glDeleteRenderbuffersEXT is part of the extension GL_EXT_framebuffer_object. Retrieve the list of available extensions using glGetString(GL_EXTENSIONS) and check for the availability of GL_EXT_framebuffer_object.