Go to the source code of this file.
◆ SWimp_ModeChanged()
Definition at line 65 of file swimp.c.
80 memset(&info, 0,
sizeof(info));
82 info.bmiHeader.biSize =
sizeof(BITMAPINFOHEADER);
83 info.bmiHeader.biWidth =
win.rc.width;
84 info.bmiHeader.biHeight =
win.rc.height;
85 info.bmiHeader.biPlanes = 1;
86 info.bmiHeader.biCompression = BI_RGB;
87 info.bmiHeader.biBitCount = 32;
98 Com_Error(ERR_FATAL,
"DIB_Init: CreateDIBSection failed");
101 if (info.bmiHeader.biHeight > 0) {
104 win.pitch = -
win.rc.width * 4;
108 win.pitch =
win.rc.width * 4;
116 Com_Error(ERR_FATAL,
"DIB_Init: SelectObject failed\n");
Referenced by Win_ModeChanged().
◆ VID_BeginFrame()
◆ VID_EndFrame()
◆ VID_Init()
qboolean VID_Init |
( |
void |
| ) |
|
Definition at line 127 of file swimp.c.
138 Com_EPrintf(
"DIB_Init: CreateCompatibleDC failed with error %lu\n", GetLastError());
◆ VID_Shutdown()
◆ VID_VideoSync()
qboolean VID_VideoSync |
( |
void |
| ) |
|
◆ VID_VideoWait()
◆ sww
void Com_Error(error_type_t type, const char *fmt,...)