Commit 4a826aec authored by D-AIRY's avatar D-AIRY

Fixed skybox

parent 210c29e2
......@@ -292,7 +292,7 @@ QT стиль документирования (!) и QT_AUTOBRIEF - корот
#ifndef __SKYXENGINE_H
#define __SKYXENGINE_H
#define SKYXENGINE_VERSION "X.6.0-dev"
#define SKYXENGINE_VERSION "X.6.1-dev"
#define SKYXENGINE_VERSION4EDITORS "SkyXEngine version " ## SKYXENGINE_VERSION
......
......@@ -200,7 +200,7 @@ void CSkyBox::render()
pCtx->setPrimitiveTopology(GXPT_TRIANGLELIST);
pCtx->drawIndexed(8, 12, 0, 0);
mem_release(m_pSky1);
m_pSky1->Release();
//SGCore_ShaderUnBind();
};
......
......@@ -42,8 +42,6 @@ protected:
Array<IXLight*> m_aFrameLights;
bool m_isFirstBunch = true;
ID m_idRSMCubeGeometryShader = -1;
struct ShadowMap
{
CShadowMap map;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment