[Video[ Rename grSstWinOpen to gfxSstWinOpen
This commit is contained in:
parent
0f634009eb
commit
a5f66567cc
|
@ -480,7 +480,7 @@ int InitGfx()
|
|||
#ifndef ANDROID
|
||||
SetWindowDisplaySize((HWND)gfx.hWnd);
|
||||
#endif
|
||||
gfx_context = grSstWinOpen(GR_COLORFORMAT_RGBA, GR_ORIGIN_UPPER_LEFT, 2, 1);
|
||||
gfx_context = gfxSstWinOpen(GR_COLORFORMAT_RGBA, GR_ORIGIN_UPPER_LEFT, 2, 1);
|
||||
if (!gfx_context)
|
||||
{
|
||||
g_Notify->DisplayError("Error setting display mode");
|
||||
|
|
|
@ -321,7 +321,7 @@ int isWglExtensionSupported(const char *extension)
|
|||
# endif
|
||||
#endif
|
||||
|
||||
FX_ENTRY GrContext_t FX_CALL grSstWinOpen(GrColorFormat_t color_format, GrOriginLocation_t origin_location, int nColBuffers, int nAuxBuffers)
|
||||
GrContext_t gfxSstWinOpen(GrColorFormat_t color_format, GrOriginLocation_t origin_location, int nColBuffers, int nAuxBuffers)
|
||||
{
|
||||
static int show_warning = 1;
|
||||
|
||||
|
|
|
@ -453,12 +453,7 @@ int isWglExtensionSupported(const char *extension)
|
|||
extern HWND g_hwnd_win;
|
||||
#endif
|
||||
|
||||
FX_ENTRY GrContext_t FX_CALL
|
||||
grSstWinOpen(
|
||||
GrColorFormat_t color_format,
|
||||
GrOriginLocation_t origin_location,
|
||||
int nColBuffers,
|
||||
int nAuxBuffers)
|
||||
GrContext_t gfxSstWinOpen(GrColorFormat_t color_format, GrOriginLocation_t origin_location, int nColBuffers, int nAuxBuffers)
|
||||
{
|
||||
static int show_warning = 1;
|
||||
|
||||
|
@ -802,7 +797,7 @@ grSstWinOpen(
|
|||
ati_sucks = 0;
|
||||
}
|
||||
|
||||
grDisplayGLError("grSstWinOpen");
|
||||
grDisplayGLError("gfxSstWinOpen");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -1201,7 +1196,7 @@ grGet(FxU32 pname, FxU32 plength, FxI32 *params)
|
|||
if (plength < 4 || params == NULL) return 0;
|
||||
if (!nbTextureUnits)
|
||||
{
|
||||
grSstWinOpen(GR_COLORFORMAT_ARGB, GR_ORIGIN_UPPER_LEFT, 2, 1);
|
||||
gfxSstWinOpen(GR_COLORFORMAT_ARGB, GR_ORIGIN_UPPER_LEFT, 2, 1);
|
||||
gfxSstWinClose(0);
|
||||
}
|
||||
#ifdef VOODOO1
|
||||
|
|
|
@ -52,5 +52,7 @@ void gfxDrawLine(const void *a, const void *b);
|
|||
void gfxDrawVertexArray(FxU32 mode, FxU32 Count, void *pointers2);
|
||||
void gfxDrawVertexArrayContiguous(FxU32 mode, FxU32 Count, void *pointers, FxU32 stride);
|
||||
|
||||
GrContext_t gfxSstWinOpen(GrColorFormat_t color_format, GrOriginLocation_t origin_location, int nColBuffers, int nAuxBuffers);
|
||||
|
||||
extern uint32_t nbTextureUnits;
|
||||
extern uint32_t g_scr_res_x, g_scr_res_y, g_res_x, g_res_y;
|
||||
|
|
Loading…
Reference in New Issue