commit ade431428c7da0f584c094ef9c06ab0c7bce7de6 parent 76434e94eaddb124c8148860128b7e2f13c91aca Author: Michael Savage <mikejsavage@gmail.com> Date: Mon Oct 31 23:11:51 +0200 No renderer_end_frame Diffstat:
renderer.cc | | | 4 | ---- |
renderer.h | | | 1 | - |
diff --git a/renderer.cc b/renderer.cc @@ -34,10 +34,6 @@ void renderer_begin_frame( ClearColourBool clear_colour, ClearDepthBool clear_de } } -void renderer_end_frame( GLFWwindow * window ) { - glfwSwapBuffers( window ); -} - static GLenum bufferusage_to_glenum( BufferUsage usage ) { switch( usage ) { case BUFFERUSAGE_STATIC: return GL_STATIC_DRAW; diff --git a/renderer.h b/renderer.h @@ -109,7 +109,6 @@ enum ClearColourBool { CLEARCOLOUR_DONT, CLEARCOLOUR_DO }; enum ClearDepthBool { CLEARDEPTH_DONT, CLEARDEPTH_DO }; void renderer_begin_frame( ClearColourBool clear_colour = CLEARCOLOUR_DO, ClearDepthBool clear_depth = CLEARDEPTH_DO ); -void renderer_end_frame( GLFWwindow * window ); VB renderer_new_vb( const void * data, size_t len, BufferUsage usage = BUFFERUSAGE_STATIC ); // specify type/layout IB renderer_new_ib( const void * data, size_t len, BufferUsage usage = BUFFERUSAGE_STATIC ); // specify u16/u32