Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
5.2.1
-
None
-
Windows
Description
When other graphics library like OpenSG is being used in the application which happens to also include openGL heaer and defines GL_ARB_vertex_buffer_object but not GL_NV_video_capture then Following #ifdef of qopenglext.h creates compiler error.
#ifndef GL_ARB_vertex_buffer_object
/* GL types for handling large vertex buffer objects */
typedef ptrdiff_t GLintptrARB;
typedef ptrdiff_t GLsizeiptrARB;
#endif
changing it to this makes the compiler happy.
#if !defined(GL_ARB_vertex_buffer_object) || !defined(GL_NV_video_capture) /* GL types for handling large vertex buffer objects */ typedef ptrdiff_t GLintptrARB; typedef ptrdiff_t GLsizeiptrARB; #endif