mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Correct a few OpenGL variable types
Affectly no change for desktop OpenGL. Use correct types for OpenGLES support.
This commit is contained in:
parent
89b719ec8d
commit
22bcda018b
4 changed files with 6 additions and 5 deletions
|
@ -474,7 +474,7 @@ void RB_BeginDrawingView (void) {
|
|||
// clip to the plane of the portal
|
||||
if ( backEnd.viewParms.isPortal ) {
|
||||
float plane[4];
|
||||
double plane2[4];
|
||||
GLdouble plane2[4];
|
||||
|
||||
plane[0] = backEnd.viewParms.portalPlane.normal[0];
|
||||
plane[1] = backEnd.viewParms.portalPlane.normal[1];
|
||||
|
|
|
@ -421,7 +421,7 @@ static void ProjectDlightTexture_altivec( void ) {
|
|||
byte clipBits[SHADER_MAX_VERTEXES];
|
||||
float texCoordsArray[SHADER_MAX_VERTEXES][2];
|
||||
byte colorArray[SHADER_MAX_VERTEXES][4];
|
||||
unsigned hitIndexes[SHADER_MAX_INDEXES];
|
||||
glIndex_t hitIndexes[SHADER_MAX_INDEXES];
|
||||
int numIndexes;
|
||||
float scale;
|
||||
float radius;
|
||||
|
@ -593,7 +593,7 @@ static void ProjectDlightTexture_scalar( void ) {
|
|||
byte clipBits[SHADER_MAX_VERTEXES];
|
||||
float texCoordsArray[SHADER_MAX_VERTEXES][2];
|
||||
byte colorArray[SHADER_MAX_VERTEXES][4];
|
||||
unsigned hitIndexes[SHADER_MAX_INDEXES];
|
||||
glIndex_t hitIndexes[SHADER_MAX_INDEXES];
|
||||
int numIndexes;
|
||||
float scale;
|
||||
float radius;
|
||||
|
|
|
@ -907,7 +907,8 @@ RB_SurfaceFace
|
|||
*/
|
||||
static void RB_SurfaceFace( srfSurfaceFace_t *surf ) {
|
||||
int i;
|
||||
unsigned *indices, *tessIndexes;
|
||||
unsigned *indices;
|
||||
glIndex_t *tessIndexes;
|
||||
float *v;
|
||||
float *normal;
|
||||
int ndx;
|
||||
|
|
|
@ -548,7 +548,7 @@ void RB_BeginDrawingView (void) {
|
|||
if ( backEnd.viewParms.isPortal ) {
|
||||
#if 0
|
||||
float plane[4];
|
||||
double plane2[4];
|
||||
GLdouble plane2[4];
|
||||
|
||||
plane[0] = backEnd.viewParms.portalPlane.normal[0];
|
||||
plane[1] = backEnd.viewParms.portalPlane.normal[1];
|
||||
|
|
Loading…
Reference in a new issue