misc/winutils/include/SDL_opengl.h
changeset 7809 7d4fb2f35f4f
parent 6560 ca07e6be08d0
child 10017 de822cd3df3a
equal deleted inserted replaced
7808:cc1805cd9138 7809:7d4fb2f35f4f
     1 /*
     1 /*
     2     SDL - Simple DirectMedia Layer
     2     SDL - Simple DirectMedia Layer
     3     Copyright (C) 1997-2009 Sam Lantinga
     3     Copyright (C) 1997-2012 Sam Lantinga
     4 
     4 
     5     This library is free software; you can redistribute it and/or
     5     This library is free software; you can redistribute it and/or
     6     modify it under the terms of the GNU Lesser General Public
     6     modify it under the terms of the GNU Lesser General Public
     7     License as published by the Free Software Foundation; either
     7     License as published by the Free Software Foundation; either
     8     version 2.1 of the License, or (at your option) any later version.
     8     version 2.1 of the License, or (at your option) any later version.
  3106 typedef char GLchar;			/* native character */
  3106 typedef char GLchar;			/* native character */
  3107 #endif
  3107 #endif
  3108 
  3108 
  3109 #ifndef GL_VERSION_1_5
  3109 #ifndef GL_VERSION_1_5
  3110 /* GL types for handling large vertex buffer objects */
  3110 /* GL types for handling large vertex buffer objects */
       
  3111 #ifdef __APPLE__
       
  3112 typedef long GLintptr;
       
  3113 typedef long GLsizeiptr;
       
  3114 #else
  3111 typedef ptrdiff_t GLintptr;
  3115 typedef ptrdiff_t GLintptr;
  3112 typedef ptrdiff_t GLsizeiptr;
  3116 typedef ptrdiff_t GLsizeiptr;
  3113 #endif
  3117 #endif
       
  3118 #endif
  3114 
  3119 
  3115 #ifndef GL_ARB_vertex_buffer_object
  3120 #ifndef GL_ARB_vertex_buffer_object
  3116 /* GL types for handling large vertex buffer objects */
  3121 /* GL types for handling large vertex buffer objects */
       
  3122 #ifdef __APPLE__
       
  3123 typedef long GLintptrARB;
       
  3124 typedef long GLsizeiptrARB;
       
  3125 #else
  3117 typedef ptrdiff_t GLintptrARB;
  3126 typedef ptrdiff_t GLintptrARB;
  3118 typedef ptrdiff_t GLsizeiptrARB;
  3127 typedef ptrdiff_t GLsizeiptrARB;
       
  3128 #endif
  3119 #endif
  3129 #endif
  3120 
  3130 
  3121 #ifndef GL_ARB_shader_objects
  3131 #ifndef GL_ARB_shader_objects
  3122 /* GL types for handling shader object handles and program/shader text */
  3132 /* GL types for handling shader object handles and program/shader text */
  3123 typedef char GLcharARB;		/* native character */
  3133 typedef char GLcharARB;		/* native character */
       
  3134 #if defined(__APPLE__)
       
  3135 typedef void *GLhandleARB;	/* shader object handle */
       
  3136 #else
  3124 typedef unsigned int GLhandleARB;	/* shader object handle */
  3137 typedef unsigned int GLhandleARB;	/* shader object handle */
       
  3138 #endif
  3125 #endif
  3139 #endif
  3126 
  3140 
  3127 /* GL types for "half" precision (s10e5) float data in host memory */
  3141 /* GL types for "half" precision (s10e5) float data in host memory */
  3128 #ifndef GL_ARB_half_float_pixel
  3142 #ifndef GL_ARB_half_float_pixel
  3129 typedef unsigned short GLhalfARB;
  3143 typedef unsigned short GLhalfARB;