summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2023-01-03 16:56:45 +0100
committerLinus Groh <mail@linusgroh.de>2023-01-03 18:11:37 +0100
commit456a8436b5732f5d01e0a298c53710c0e6b46e16 (patch)
tree0004205db6f30bca0412a60441131d3f055b0e44 /Userland/Libraries/LibGL
parent62092a329df25a99bd8887c59598198f31f1c215 (diff)
downloadserenity-456a8436b5732f5d01e0a298c53710c0e6b46e16.zip
LibGL: Remove i686 data types in favor of 64-bit types
Diffstat (limited to 'Userland/Libraries/LibGL')
-rw-r--r--Userland/Libraries/LibGL/GL/glplatform.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/Userland/Libraries/LibGL/GL/glplatform.h b/Userland/Libraries/LibGL/GL/glplatform.h
index 824a367105..1fd509bcca 100644
--- a/Userland/Libraries/LibGL/GL/glplatform.h
+++ b/Userland/Libraries/LibGL/GL/glplatform.h
@@ -28,8 +28,10 @@ typedef unsigned char GLboolean;
typedef short GLshort;
typedef unsigned short GLushort;
typedef int GLint;
+typedef long GLint64;
typedef long GLintptr;
typedef unsigned int GLuint;
+typedef unsigned long GLuint64;
typedef int GLfixed;
typedef int GLsizei;
typedef long GLsizeiptr;
@@ -40,11 +42,3 @@ typedef float GLclampf;
typedef double GLdouble;
typedef unsigned int GLenum;
typedef unsigned int GLbitfield;
-
-#if defined(__x86_64__) || defined(__aarch64__)
-typedef long GLint64;
-typedef unsigned long GLuint64;
-#else
-typedef long long GLint64;
-typedef unsigned long long GLuint64;
-#endif