This file contains SDL specific stuff having to do with the OpenGL refresh. More...
#include "r_local.h"
#include "r_main.h"
#include "r_sdl.h"
#include "../../ports/system.h"
#include "../../ports/linux/ufoicon.xbm"
Go to the source code of this file.
Functions | |
static void | R_SetSDLIcon (void) |
qboolean | Rimp_Init (void) |
qboolean | R_InitGraphics (qboolean fullscreen, int width, int height) |
Init the SDL window. | |
void | Rimp_Shutdown (void) |
Variables | |
r_sdl_config_t | r_sdl_config |
This file contains SDL specific stuff having to do with the OpenGL refresh.
Definition in file r_sdl.c.
Init the SDL window.
Definition at line 156 of file r_sdl.c.
References Com_Printf(), error(), i, cvar_s::integer, cvar_s::modified, qfalse, qtrue, r_ext_texture_compression, r_multisample, r_swapinterval, vid_fullscreen, vid_mode, and vid_strech.
Referenced by R_SetMode().
static void R_SetSDLIcon | ( | void | ) | [static] |
Definition at line 34 of file r_sdl.c.
References i, ufoicon_height, and ufoicon_width.
Referenced by Rimp_Init().
qboolean Rimp_Init | ( | void | ) |
Definition at line 66 of file r_sdl.c.
References Com_Error(), Com_Printf(), ERR_FATAL, GAME_TITLE, GAME_TITLE_LONG, MAX_VAR, r_sdl_config_s::modes, r_sdl_config_s::numModes, r_sdl_config_s::pixelFormat, Q_strcat(), qtrue, r_config, r_driver, R_SetMode(), R_SetSDLIcon(), cvar_s::string, Sys_Setenv(), va(), r_sdl_config_s::videoInfo, and rconfig_t::videoMemory.
Referenced by R_Init().
void Rimp_Shutdown | ( | void | ) |
Definition at line 200 of file r_sdl.c.
Referenced by R_Shutdown().
Definition at line 31 of file r_sdl.c.
Referenced by VID_GetModeInfo(), and VID_GetModeNums().