mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-14 09:05:58 +00:00
Fixed issue causing the viewport axes to sometimes not render correctly
This commit is contained in:
parent
5c1d4f70ae
commit
21efd3999f
@ -302,6 +302,7 @@ void CBasicViewport::Render()
|
||||
void CBasicViewport::DrawAxes()
|
||||
{
|
||||
// Draw 64x64 axes in lower-left corner with 8px margins
|
||||
glBlendFunc(GL_ONE, GL_ZERO);
|
||||
glViewport(8, 8, 64, 64);
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glClear(GL_DEPTH_BUFFER_BIT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user