summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 923ff56)
raw | patch | inline | side by side (parent: 923ff56)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 13 Feb 2023 19:27:27 +0000 (22:27 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Fri, 9 Jun 2023 09:12:56 +0000 (12:12 +0300) |
src/game/renders/opengl/r_render.pas | patch | blob | history |
index b896b06cc189757131193261a53e450a576b8bdb..95c89678a665edb1451bb329be2f77fde1975c3c 100644 (file)
end;
{$ENDIF}
+ procedure r_Render_LogGLInfo;
+ begin
+ e_LogWritefln('GL Vendor: %s', [glGetString(GL_VENDOR)]);
+ e_LogWritefln('GL Renderer: %s', [glGetString(GL_RENDERER)]);
+ e_LogWritefln('GL Version: %s', [glGetString(GL_VERSION)]);
+ e_LogWritefln('GL Shaders: %s', [glGetString(GL_SHADING_LANGUAGE_VERSION)]);
+ e_LogWritefln('GL Extensions: %s', [glGetString(GL_EXTENSIONS)]);
+ end;
+
procedure r_Render_Initialize;
begin
{$IFDEF ENABLE_SYSTEM}
{$IFDEF NOGL_INIT}
nogl_Init;
{$ENDIF}
+ r_Render_LogGLInfo;
r_LoadScreen_Initialize;
r_Textures_Initialize;
r_Console_Initialize;