mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-29 15:51:45 +00:00
Some more debug / log output at refresher startup
- Print which library is loaded. - Print the client version against which the library was build.
This commit is contained in:
parent
a47a9daf67
commit
9359d6d51d
3 changed files with 10 additions and 7 deletions
|
@ -344,6 +344,7 @@ VID_LoadRefresh(void)
|
|||
snprintf(reflib_name, sizeof(reflib_name), "ref_%s.%s", vid_renderer->string, lib_ext);
|
||||
snprintf(reflib_path, sizeof(reflib_path), "%s%s", Sys_GetBinaryDir(), reflib_name);
|
||||
|
||||
Com_Printf("LoadLibrary(%s)\n", reflib_name);
|
||||
GetRefAPI = Sys_LoadLibrary(reflib_path, "GetRefAPI", &reflib_handle);
|
||||
if(GetRefAPI == NULL)
|
||||
{
|
||||
|
|
|
@ -1378,19 +1378,20 @@ RI_Init()
|
|||
r_turbsin[j] *= 0.5;
|
||||
}
|
||||
|
||||
R_Printf(PRINT_ALL, "Refresh: " REF_VERSION "\n");
|
||||
R_Printf(PRINT_ALL, "Client: " YQ2VERSION "\n\n");
|
||||
|
||||
/* Options */
|
||||
R_Printf(PRINT_ALL, "Refresher build options:\n");
|
||||
|
||||
R_Printf(PRINT_ALL, " + Retexturing support\n");
|
||||
|
||||
#ifdef X11GAMMA
|
||||
R_Printf(PRINT_ALL, " + Gamma via X11\n");
|
||||
R_Printf(PRINT_ALL, " + Gamma via X11\n\n");
|
||||
#else
|
||||
R_Printf(PRINT_ALL, " - Gamma via X11\n");
|
||||
R_Printf(PRINT_ALL, " - Gamma via X11\n\n");
|
||||
#endif
|
||||
|
||||
R_Printf(PRINT_ALL, "Refresh: " REF_VERSION "\n");
|
||||
|
||||
Draw_GetPalette();
|
||||
|
||||
R_Register();
|
||||
|
|
|
@ -436,12 +436,13 @@ GL3_Init(void)
|
|||
{
|
||||
Swap_Init(); // FIXME: for fucks sake, this doesn't have to be done at runtime!
|
||||
|
||||
R_Printf(PRINT_ALL, "Refresh: " REF_VERSION "\n");
|
||||
R_Printf(PRINT_ALL, "Client: " YQ2VERSION "\n\n");
|
||||
|
||||
/* Options */
|
||||
R_Printf(PRINT_ALL, "Refresher build options:\n");
|
||||
R_Printf(PRINT_ALL, " + Retexturing support\n\n");
|
||||
|
||||
R_Printf(PRINT_ALL, " + Retexturing support\n");
|
||||
|
||||
R_Printf(PRINT_ALL, "Refresh: " REF_VERSION "\n");
|
||||
|
||||
if(sizeof(float) != sizeof(GLfloat))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue