@ -11,7 +11,7 @@ typedef struct unity_glcalls_s
int ( * UploadBrushModel ) ( void * target , qmodel_t * model ) ;
int ( * UploadBrushModel ) ( void * target , qmodel_t * model ) ;
int ( * UploadWorldModel ) ( void * target , qmodel_t * model ) ;
int ( * UploadWorldModel ) ( void * target , qmodel_t * model ) ;
qboolean ( * UploadTexture ) ( void * target , gltexture_t * texture , unsigned * data , GLuint * texnum ) ;
qboolean ( * UploadTexture ) ( void * target , gltexture_t * texture , unsigned * data , GLuint * texnum ) ;
qboolean ( * UploadLightmap ) ( void * target , int lmap , int width , int height , byte * data ) ;
qboolean ( * UploadLightmap ) ( void * target , int lmap , byte * data ) ;
void ( * SetupView ) ( void * target , vec3_t origin , vec3_t angles , mleaf_t * viewLeaf ) ;
void ( * SetupView ) ( void * target , vec3_t origin , vec3_t angles , mleaf_t * viewLeaf ) ;
} unity_glcalls_t ;
} unity_glcalls_t ;
@ -40,9 +40,9 @@ qboolean UQ_GL_UploadTexture(gltexture_t *texture, unsigned *data)
return unity_glcalls - > UploadTexture ( unity_glcalls - > target , texture , data , & texture - > texnum ) ;
return unity_glcalls - > UploadTexture ( unity_glcalls - > target , texture , data , & texture - > texnum ) ;
}
}
qboolean UQ_GL_UploadLightmap ( int lmap , int width , int height , byte * data )
qboolean UQ_GL_UploadLightmap ( int lmap , byte * data )
{
{
return unity_glcalls - > UploadLightmap ( unity_glcalls - > target , lmap , width , height , data ) ;
return unity_glcalls - > UploadLightmap ( unity_glcalls - > target , lmap , data ) ;
}
}
void UQ_GL_SetupView ( vec3_t origin , vec3_t angles , mleaf_t * viewLeaf )
void UQ_GL_SetupView ( vec3_t origin , vec3_t angles , mleaf_t * viewLeaf )