]> git.pld-linux.org Git - packages/Shaaft.git/blame - Shaaft-types.patch
- type fixes
[packages/Shaaft.git] / Shaaft-types.patch
CommitLineData
2330f64c
JB
1--- Shaaft-0.5.0/utilsgl/gl++.hpp.orig 2004-01-01 04:32:28.000000000 +0000
2+++ Shaaft-0.5.0/utilsgl/gl++.hpp 2004-03-01 15:06:24.000000000 +0000
3@@ -22,18 +22,11 @@
4 #endif
5
6 #include <GL/gl.h>
7+#include <stddef.h>
8
9-#ifndef GLintptrARB
10-# if defined(_WIN64)
11- typedef __int64 GLintptrARB;
12- typedef __int64 GLsizeiptrARB;
13-# elif defined(__ia64__) || defined(__x86_64__)
14- typedef long int GLintptrARB;
15- typedef long int GLsizeiptrARB;
16-# else
17- typedef int GLintptrARB;
18- typedef int GLsizeiptrARB;
19-# endif
20+#if !defined(GLintptrARB) && !defined(GL_ARB_vertex_buffer_object)
21+typedef ptrdiff_t GLintptrARB;
22+typedef ptrdiff_t GLsizeiptrARB;
23 #endif
24
25 #ifndef GLhalf
This page took 0.103961 seconds and 4 git commands to generate.