Move OpenGL headers from API to implementation.
We don't want to expose any OpenGL functions to client code. Because if we do, there is a chance we break client code if we switch implementation (Direct3D).
This commit is contained in:
parent
1dc0ecf563
commit
2a111a237d
13 changed files with 16 additions and 16 deletions
|
|
@ -1,12 +1,12 @@
|
|||
|
||||
#include <Spectre/System/Log.h>
|
||||
#include <Spectre/Graphics/OpenGL.h>
|
||||
#include <Spectre/Graphics/Renderable.h>
|
||||
#include <Spectre/Graphics/RenderState.h>
|
||||
#include <Spectre/Graphics/ShaderProgram.h>
|
||||
#include <Spectre/Graphics/Texture.h>
|
||||
#include <Spectre/Graphics/BatchRenderer2D.h>
|
||||
#include <Spectre/Math/Math.h>
|
||||
#include <Graphics/GL/gl.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue