last workaround did not work. Try a really simple one then.
This commit is contained in:
parent
f7a2cb9e04
commit
ce482631a3
|
|
@ -1193,9 +1193,7 @@ public:
|
|||
void transform(const Matrix4& matrix, bool mirror)
|
||||
{
|
||||
if(g_brush_texturelock_enabled)
|
||||
{
|
||||
Texdef_transformLocked(m_texdefTransformed, m_shader.width(), m_shader.height(), m_plane.plane3(), matrix);
|
||||
}
|
||||
|
||||
m_planeTransformed.transform(matrix, mirror);
|
||||
|
||||
|
|
|
|||
|
|
@ -1551,11 +1551,9 @@ void CamWnd::Cam_Draw()
|
|||
glGetIntegerv (GL_VIEWPORT, viewprt);
|
||||
#endif
|
||||
|
||||
// initialize OpenGL state for glClear to work
|
||||
GlobalShaderCache().render(RENDER_DEFAULT, m_Camera.modelview, m_Camera.projection, m_view.getViewer());
|
||||
|
||||
// enable depth buffer writes
|
||||
glDepthMask(GL_TRUE);
|
||||
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
|
||||
|
||||
Vector3 clearColour(0, 0, 0);
|
||||
if(m_Camera.draw_mode != cd_lighting)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user