Changeset View
Changeset View
Standalone View
Standalone View
source/renderer/Renderer.cpp
Show First 20 Lines • Show All 429 Lines • ▼ Show 20 Lines | CRenderer::CRenderer() | ||||
CStr skystring = "0 0 0"; | CStr skystring = "0 0 0"; | ||||
CColor skycolor; | CColor skycolor; | ||||
CFG_GET_VAL("skycolor", skystring); | CFG_GET_VAL("skycolor", skystring); | ||||
if (skycolor.ParseString(skystring, 255.f)) | if (skycolor.ParseString(skystring, 255.f)) | ||||
SetClearColor(skycolor.AsSColor4ub()); | SetClearColor(skycolor.AsSColor4ub()); | ||||
#if CONFIG2_GLES | #if CONFIG2_GLES | ||||
// Override config option since GLES only supports GLSL | // Override config option since GLES only supports GLSL | ||||
g_RenderingOptions.GetPreferGLSL() = true; | g_RenderingOptions.SetPreferGLSL(true); | ||||
vladislavbelov: That was missed in rP22610. | |||||
#endif | #endif | ||||
m_ShadowZBias = 0.02f; | m_ShadowZBias = 0.02f; | ||||
m_ShadowMapSize = 0; | m_ShadowMapSize = 0; | ||||
m_LightEnv = NULL; | m_LightEnv = NULL; | ||||
m_CurrentScene = NULL; | m_CurrentScene = NULL; | ||||
▲ Show 20 Lines • Show All 1,543 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
That was missed in rP22610.