This commit is contained in:
OM 2023-05-27 21:39:56 +02:00
parent 9f669cff1c
commit 4a582cfbb5
7 changed files with 19 additions and 3 deletions

View file

@ -48,6 +48,8 @@ typedef struct {
void (*SavePerformanceCounters)();
void (*Set2DWindow)(int x, int y, int w, int h, float left, float right, float bottom, float top, float n, float f);
void (*DrawStretchPic) ( float x, float y, float w, float h,
float s1, float t1, float s2, float t2, qhandle_t hShader ); // 0 = white
void (*DrawTilePic)(float x, float y, float w, float h, qhandle_t hShader);
void (*DrawTilePicOffset)(float x, float y, float w, float h, qhandle_t hShader, int offsetX, int offsetY);
void (*DrawTrianglePic)(vec2_t* points, vec2_t* texCoords, qhandle_t hShader);

View file

@ -48,3 +48,15 @@ typedef enum {
viewlensflare = (1 << 1),
additive = (1 << 2)
} dlighttype_t;
#if !defined _WIN32
#define _3DFX_DRIVER_NAME "libMesaVoodooGL.so.3.1"
#define OPENGL_DRIVER_NAME "libGL.so"
#else
#define _3DFX_DRIVER_NAME "3dfxvgl"
#define OPENGL_DRIVER_NAME "opengl32"
#endif // !defined _WIN32

View file

@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
extern "C" {
#endif
#define REF_API_VERSION 8
#define REF_API_VERSION 14
//
// these are the functions exported by the refresh module