mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge r_opengl.c/h
This commit is contained in:
parent
1c6c874152
commit
737f5c35c4
2 changed files with 635 additions and 1936 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -57,17 +57,19 @@
|
||||||
#undef DEBUG_TO_FILE // maybe defined in previous *.h
|
#undef DEBUG_TO_FILE // maybe defined in previous *.h
|
||||||
#define DEBUG_TO_FILE // output debugging msgs to ogllog.txt
|
#define DEBUG_TO_FILE // output debugging msgs to ogllog.txt
|
||||||
|
|
||||||
|
// todo: find some way of getting SDL to log to ogllog.txt, without
|
||||||
|
// interfering with r_opengl.dll
|
||||||
|
#ifdef HAVE_SDL
|
||||||
|
#undef DEBUG_TO_FILE
|
||||||
|
#endif
|
||||||
|
//#if defined(HAVE_SDL) && !defined(_DEBUG)
|
||||||
|
//#undef DEBUG_TO_FILE
|
||||||
|
//#endif
|
||||||
|
|
||||||
#ifdef DEBUG_TO_FILE
|
#ifdef DEBUG_TO_FILE
|
||||||
extern FILE *gllogstream;
|
extern FILE *gllogstream;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
#ifndef DRIVER_STRING
|
|
||||||
#define DRIVER_STRING "HWRAPI Init(): SRB2 OpenGL renderer" // Tails
|
|
||||||
#endif
|
|
||||||
|
|
||||||
>>>>>>> srb2/next
|
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
// PROTOS
|
// PROTOS
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
|
|
@ -80,14 +82,6 @@ void Flush(void);
|
||||||
INT32 isExtAvailable(const char *extension, const GLubyte *start);
|
INT32 isExtAvailable(const char *extension, const GLubyte *start);
|
||||||
void SetModelView(GLint w, GLint h);
|
void SetModelView(GLint w, GLint h);
|
||||||
void SetStates(void);
|
void SetStates(void);
|
||||||
<<<<<<< HEAD
|
|
||||||
#ifdef USE_PALETTED_TEXTURE
|
|
||||||
extern PFNGLCOLORTABLEEXTPROC glColorTableEXT;
|
|
||||||
extern GLubyte palette_tex[256*3];
|
|
||||||
#endif
|
|
||||||
=======
|
|
||||||
FUNCMATH float byteasfloat(UINT8 fbyte);
|
|
||||||
>>>>>>> srb2/next
|
|
||||||
|
|
||||||
#ifndef GL_EXT_texture_filter_anisotropic
|
#ifndef GL_EXT_texture_filter_anisotropic
|
||||||
#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
|
#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue