2023-07-20 19:04:46 +02:00
|
|
|
Index: VirtualBox-7.0.10/include/VBox/VBoxGL2D.h
|
2019-03-27 19:52:03 +01:00
|
|
|
===================================================================
|
2023-07-20 19:04:46 +02:00
|
|
|
--- VirtualBox-7.0.10.orig/include/VBox/VBoxGL2D.h
|
|
|
|
+++ VirtualBox-7.0.10/include/VBox/VBoxGL2D.h
|
2022-11-18 22:49:33 +01:00
|
|
|
@@ -123,7 +123,7 @@ typedef GLvoid (APIENTRY *PFNVBOXVHWA_UN
|
2019-03-27 19:52:03 +01:00
|
|
|
/* GL_ARB_pixel_buffer_object*/
|
|
|
|
#ifndef Q_WS_MAC
|
|
|
|
/* apears to be defined on mac */
|
2019-04-06 00:17:46 +02:00
|
|
|
-typedef ptrdiff_t GLsizeiptr;
|
2019-03-28 01:47:13 +01:00
|
|
|
+typedef long int GLsizeiptr;
|
2019-03-28 01:22:04 +01:00
|
|
|
#endif
|
2019-03-27 19:52:03 +01:00
|
|
|
|
|
|
|
#ifndef GL_READ_ONLY
|
2023-07-20 19:04:46 +02:00
|
|
|
Index: VirtualBox-7.0.10/src/VBox/Additions/3D/mesa/mesa-21.3.8/include/GL/glext.h
|
2019-03-27 19:52:03 +01:00
|
|
|
===================================================================
|
2023-07-20 19:04:46 +02:00
|
|
|
--- VirtualBox-7.0.10.orig/src/VBox/Additions/3D/mesa/mesa-21.3.8/include/GL/glext.h
|
|
|
|
+++ VirtualBox-7.0.10/src/VBox/Additions/3D/mesa/mesa-21.3.8/include/GL/glext.h
|
2022-11-18 22:49:33 +01:00
|
|
|
@@ -466,7 +466,12 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
|
|
|
|
2019-03-27 19:52:03 +01:00
|
|
|
#ifndef GL_VERSION_1_5
|
|
|
|
#define GL_VERSION_1_5 1
|
2019-04-06 00:17:46 +02:00
|
|
|
+#include <QtCore/qglobal.h>
|
2019-05-28 02:19:51 +02:00
|
|
|
+#if __BITS_PER_LONG != 64
|
2022-11-18 22:49:33 +01:00
|
|
|
typedef khronos_ssize_t GLsizeiptr;
|
2019-05-28 02:19:51 +02:00
|
|
|
+#else
|
2019-03-28 01:47:13 +01:00
|
|
|
+typedef long int GLsizeiptr;
|
2019-05-28 02:19:51 +02:00
|
|
|
+#endif
|
2022-11-18 22:49:33 +01:00
|
|
|
typedef khronos_intptr_t GLintptr;
|
2019-03-27 19:52:03 +01:00
|
|
|
#define GL_BUFFER_SIZE 0x8764
|
|
|
|
#define GL_BUFFER_USAGE 0x8765
|
2023-07-20 19:04:46 +02:00
|
|
|
Index: VirtualBox-7.0.10/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
2019-03-27 19:52:03 +01:00
|
|
|
===================================================================
|
2023-07-20 19:04:46 +02:00
|
|
|
--- VirtualBox-7.0.10.orig/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
|
|
|
+++ VirtualBox-7.0.10/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
2022-11-18 22:49:33 +01:00
|
|
|
@@ -4680,6 +4680,14 @@ GLAPI void APIENTRY glWeightuivARB (GLin
|
|
|
|
GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
|
|
|
|
GLAPI void APIENTRY glVertexBlendARB (GLint count);
|
|
|
|
#endif
|
|
|
|
+#ifndef GL_VERSION_1_5
|
|
|
|
+/* GL types for handling large vertex buffer objects */
|
|
|
|
+typedef ptrdiff_t GLintptr;
|
2019-05-28 02:19:51 +02:00
|
|
|
+#if __BITS_PER_LONG != 64
|
2022-11-18 22:49:33 +01:00
|
|
|
+typedef ptrdiff_t GLsizeiptr;
|
2019-05-28 02:19:51 +02:00
|
|
|
+#else
|
2019-03-28 01:47:13 +01:00
|
|
|
+typedef long int GLsizeiptr;
|
2019-05-28 02:19:51 +02:00
|
|
|
+#endif
|
2022-11-18 22:49:33 +01:00
|
|
|
#endif /* GL_ARB_vertex_blend */
|
2019-03-27 19:52:03 +01:00
|
|
|
|
|
|
|
#ifndef GL_ARB_vertex_buffer_object
|