Ignore:
Timestamp:
Jun 20, 2013, 6:55:23 PM (7 years ago)
Author:
sam
Message:

gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/02_cube.cpp

    r2497 r2753  
    104104        }
    105105
    106         Video::SetClearColor(vec4(0.0f, 0.0f, 0.0f, 1.0f));
     106        g_renderer->SetClearColor(vec4(0.0f, 0.0f, 0.0f, 1.0f));
    107107
    108108        m_shader->Bind();
Note: See TracChangeset for help on using the changeset viewer.