2022-09-16 19:04:36 +02:00
|
|
|
Index: VirtualBox-6.1.38/include/VBox/VBoxGL2D.h
|
2019-03-27 19:52:03 +01:00
|
|
|
===================================================================
|
2022-09-16 19:04:36 +02:00
|
|
|
--- VirtualBox-6.1.38.orig/include/VBox/VBoxGL2D.h
|
|
|
|
+++ VirtualBox-6.1.38/include/VBox/VBoxGL2D.h
|
2019-04-06 00:17:46 +02:00
|
|
|
@@ -113,7 +113,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
|
2022-09-16 19:04:36 +02:00
|
|
|
Index: VirtualBox-6.1.38/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
2019-03-27 19:52:03 +01:00
|
|
|
===================================================================
|
2022-09-16 19:04:36 +02:00
|
|
|
--- VirtualBox-6.1.38.orig/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
|
|
|
+++ VirtualBox-6.1.38/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
2019-05-28 02:19:51 +02:00
|
|
|
@@ -465,7 +465,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
|
|
|
|
#include <stddef.h>
|
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
|
|
|
|
typedef ptrdiff_t GLsizeiptr;
|
|
|
|
+#else
|
2019-03-28 01:47:13 +01:00
|
|
|
+typedef long int GLsizeiptr;
|
2019-05-28 02:19:51 +02:00
|
|
|
+#endif
|
2019-03-27 19:52:03 +01:00
|
|
|
typedef ptrdiff_t GLintptr;
|
|
|
|
#define GL_BUFFER_SIZE 0x8764
|
|
|
|
#define GL_BUFFER_USAGE 0x8765
|
2022-09-16 19:04:36 +02:00
|
|
|
Index: VirtualBox-6.1.38/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
2019-03-27 19:52:03 +01:00
|
|
|
===================================================================
|
2022-09-16 19:04:36 +02:00
|
|
|
--- VirtualBox-6.1.38.orig/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
|
|
|
+++ VirtualBox-6.1.38/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
2019-05-28 02:19:51 +02:00
|
|
|
@@ -614,7 +614,11 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
2019-03-27 19:52:03 +01:00
|
|
|
#ifndef GL_VERSION_1_5
|
|
|
|
#define GL_VERSION_1_5 1
|
|
|
|
#include <stddef.h>
|
2019-05-28 02:19:51 +02:00
|
|
|
+#if __BITS_PER_LONG != 64
|
|
|
|
typedef ptrdiff_t GLsizeiptr;
|
|
|
|
+#else
|
2019-03-28 01:47:13 +01:00
|
|
|
+typedef long int GLsizeiptr;
|
2019-05-28 02:19:51 +02:00
|
|
|
+#endif
|
2019-03-27 19:52:03 +01:00
|
|
|
typedef ptrdiff_t GLintptr;
|
|
|
|
#define GL_BUFFER_SIZE 0x8764
|
|
|
|
#define GL_BUFFER_USAGE 0x8765
|
2022-09-16 19:04:36 +02:00
|
|
|
Index: VirtualBox-6.1.38/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
2019-03-27 19:52:03 +01:00
|
|
|
===================================================================
|
2022-09-16 19:04:36 +02:00
|
|
|
--- VirtualBox-6.1.38.orig/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
|
|
|
+++ VirtualBox-6.1.38/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
2019-05-28 02:19:51 +02:00
|
|
|
@@ -465,7 +465,11 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
2019-03-27 19:52:03 +01:00
|
|
|
#ifndef GL_VERSION_1_5
|
|
|
|
#define GL_VERSION_1_5 1
|
|
|
|
#include <stddef.h>
|
2019-05-28 02:19:51 +02:00
|
|
|
+#if __BITS_PER_LONG != 64
|
|
|
|
typedef ptrdiff_t GLsizeiptr;
|
|
|
|
+#else
|
2019-03-28 01:47:13 +01:00
|
|
|
+typedef long int GLsizeiptr;
|
2019-05-28 02:19:51 +02:00
|
|
|
+#endif
|
2019-03-27 19:52:03 +01:00
|
|
|
typedef ptrdiff_t GLintptr;
|
|
|
|
#define GL_BUFFER_SIZE 0x8764
|
|
|
|
#define GL_BUFFER_USAGE 0x8765
|
2022-09-16 19:04:36 +02:00
|
|
|
Index: VirtualBox-6.1.38/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
2019-03-27 19:52:03 +01:00
|
|
|
===================================================================
|
2022-09-16 19:04:36 +02:00
|
|
|
--- VirtualBox-6.1.38.orig/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
|
|
|
+++ VirtualBox-6.1.38/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
2019-05-28 02:19:51 +02:00
|
|
|
@@ -3708,7 +3708,11 @@ typedef char GLchar; /* native charact
|
2019-03-27 19:52:03 +01:00
|
|
|
#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
|
|
|
|
typedef ptrdiff_t GLsizeiptr;
|
|
|
|
+#else
|
2019-03-28 01:47:13 +01:00
|
|
|
+typedef long int GLsizeiptr;
|
2019-05-28 02:19:51 +02:00
|
|
|
+#endif
|
2019-03-28 01:22:04 +01:00
|
|
|
#endif
|
2019-03-27 19:52:03 +01:00
|
|
|
|
|
|
|
#ifndef GL_ARB_vertex_buffer_object
|
2022-09-16 19:04:36 +02:00
|
|
|
Index: VirtualBox-6.1.38/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
2019-03-27 19:52:03 +01:00
|
|
|
===================================================================
|
2022-09-16 19:04:36 +02:00
|
|
|
--- VirtualBox-6.1.38.orig/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
|
|
|
+++ VirtualBox-6.1.38/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
2019-05-28 02:19:51 +02:00
|
|
|
@@ -6194,7 +6194,11 @@ typedef char GLchar;
|
2019-03-27 19:52:03 +01:00
|
|
|
#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
|
|
|
|
typedef ptrdiff_t GLsizeiptr;
|
|
|
|
+#else
|
2019-03-28 01:47:13 +01:00
|
|
|
+typedef long int GLsizeiptr;
|
2019-05-28 02:19:51 +02:00
|
|
|
+#endif
|
2019-03-28 01:22:04 +01:00
|
|
|
#endif
|
2019-03-27 19:52:03 +01:00
|
|
|
|
|
|
|
#ifndef GL_ARB_vertex_buffer_object
|