mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
Removes ogl_WarnIfError from regular renderer code.
This was SVN commit r26850.
This commit is contained in:
@@ -635,8 +635,6 @@ void InitGraphics(const CmdLineArgs& args, int flags, const std::vector<CStr>& i
|
||||
|
||||
RunHardwareDetection();
|
||||
|
||||
ogl_WarnIfError();
|
||||
|
||||
// Optionally start profiler GPU timings automatically
|
||||
// (By default it's only enabled by a hotkey, for performance/compatibility)
|
||||
bool profilerGPUEnable = false;
|
||||
@@ -670,8 +668,6 @@ void InitGraphics(const CmdLineArgs& args, int flags, const std::vector<CStr>& i
|
||||
);
|
||||
}
|
||||
|
||||
ogl_WarnIfError();
|
||||
|
||||
g_RenderingOptions.ReadConfigAndSetupHooks();
|
||||
|
||||
// create renderer
|
||||
@@ -679,8 +675,6 @@ void InitGraphics(const CmdLineArgs& args, int flags, const std::vector<CStr>& i
|
||||
|
||||
InitInput();
|
||||
|
||||
ogl_WarnIfError();
|
||||
|
||||
// TODO: Is this the best place for this?
|
||||
if (VfsDirectoryExists(L"maps/"))
|
||||
CXeromyces::AddValidator(g_VFS, "map", "maps/scenario.rng");
|
||||
|
||||
Reference in New Issue
Block a user