Commit 5fe9bb71 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

fixed build under linux with OpenGL

parent 79c3a8e0
......@@ -86,12 +86,12 @@
#else // GLX
#include <GL/glx.h>
#define CV_GL_GET_PROC_ADDRESS(name) (*glXGetProcAddressARB)((const GLubyte*) name)
#define CV_GL_GET_PROC_ADDRESS(name) glXGetProcAddressARB((const GLubyte*) name)
#endif
static void* IntGetProcAddress(const char* name)
{
void* func = CV_GL_GET_PROC_ADDRESS(name);
void* func = (void*) CV_GL_GET_PROC_ADDRESS(name);
if (!func)
{
std::ostringstream msg;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment