fixed build with Qt

This commit is contained in:
Vladislav Vinogradov
2011-11-27 10:13:08 +00:00
parent 467f936459
commit 35e69a1ee3
3 changed files with 7 additions and 11 deletions

View File

@@ -581,14 +581,6 @@ double cvGetOpenGlProp_W32(const char* name)
typedef ptrdiff_t GLsizeiptr;
#endif
#ifndef GL_BGR
#define GL_BGR 0x80E0
#endif
#ifndef GL_BGRA
#define GL_BGRA 0x80E1
#endif
namespace
{
typedef void (APIENTRYP PFNGLGENBUFFERSPROC ) (GLsizei n, GLuint *buffers);