summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/cuda_dynamic.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/cuda_dynamic.h')
-rw-r--r--video/out/opengl/cuda_dynamic.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/video/out/opengl/cuda_dynamic.h b/video/out/opengl/cuda_dynamic.h
index ecf212aa82..e1ffc6e8c1 100644
--- a/video/out/opengl/cuda_dynamic.h
+++ b/video/out/opengl/cuda_dynamic.h
@@ -25,6 +25,8 @@
#include <stdbool.h>
#include <stddef.h>
+#include "gl_headers.h"
+
#define CUDA_VERSION 7050
#if defined(_WIN32) || defined(__CYGWIN__)
@@ -85,9 +87,6 @@ typedef enum CUGLDeviceList_enum {
CU_GL_DEVICE_LIST_NEXT_FRAME = 3,
} CUGLDeviceList;
-typedef unsigned int GLenum;
-typedef unsigned int GLuint;
-
#define CU_GRAPHICS_REGISTER_FLAGS_WRITE_DISCARD 2
typedef CUresult CUDAAPI tcuInit(unsigned int Flags);