Changeset 25324

Timestamp:
Apr 26, 2021, 11:21:13 PM (3 years ago)
Author:
Vladislav Belov
Message:

Fixes missing DrawCameraFrustum argument after rP25323.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/renderer/Renderer.cpp

    r25269 r25324  
    14851485    glEnable(GL_BLEND);
    14861486    glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    1487     glColor4ub(255,255,255,64);
    1488     GetDebugRenderer().DrawCameraFrustum(m_CullCamera, 2);
     1487    GetDebugRenderer().DrawCameraFrustum(m_CullCamera, CColor(1.0f, 1.0f, 1.0f, 0.25f), 2);
    14891488    glDisable(GL_BLEND);
    14901489
    14911490    glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
    1492     glColor3ub(255,255,255);
    1493     GetDebugRenderer().DrawCameraFrustum(m_CullCamera, 2);
     1491    GetDebugRenderer().DrawCameraFrustum(m_CullCamera, CColor(1.0f, 1.0f, 1.0f, 1.0f), 2);
    14941492    glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
    14951493
Note: See TracChangeset for help on using the changeset viewer.