mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
8c02fb26b3
splitscreen can now properly be configured via build configs, and potentially more than just 4 seats. fix splitscreen and enemycolour forcing. forcing now works, but only when all seats are on/spectating the same team. fix demo playback issue with http urls with webgl that don't allow streaming. srgb fixes for the scoreboard. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5229 fc73d0e0-1445-4013-8a0c-d673dee63da5
31 lines
925 B
C
31 lines
925 B
C
#ifndef __GL_VIDEGL_H__
|
|
#define __GL_VIDEGL_H__
|
|
|
|
#include "quakedef.h"
|
|
#define NativeWindowType EGLNativeWindowType //for old egl versions
|
|
#include <EGL/egl.h>
|
|
#ifndef _WIN32
|
|
#include <dlfcn.h>
|
|
#endif
|
|
|
|
#ifndef EGL_PLATFORM_X11_KHR
|
|
#define EGL_PLATFORM_X11_KHR 0x31D5 //EGL_KHR_platform_x11
|
|
#define EGL_PLATFORM_X11_SCREEN_KHR 0x31D6 //an attrib
|
|
#endif
|
|
|
|
#ifndef EGL_PLATFORM_WAYLAND_KHR
|
|
#define EGL_PLATFORM_WAYLAND_KHR 0x31D8 //EGL_KHR_platform_wayland
|
|
#endif
|
|
|
|
#ifndef EGL_PLATFORM_WIN32
|
|
#define EGL_PLATFORM_WIN32 0 //no meaningful value.
|
|
#endif
|
|
|
|
void *EGL_Proc(char *f);
|
|
void EGL_UnloadLibrary(void);
|
|
qboolean EGL_LoadLibrary(char *driver);
|
|
void EGL_Shutdown(void);
|
|
void EGL_SwapBuffers (void);
|
|
qboolean EGL_Init (rendererstate_t *info, unsigned char *palette, int eglplatform, void *nwindow, void *ndpy, EGLNativeWindowType owindow, EGLNativeDisplayType odpy);
|
|
|
|
#endif
|