Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 273 vs 286 for /trunk/Source Code/Hardware/Video/OpenGL/glImmediateModeEmulation.cpp

Diff revisions: vs.
  @@ -1,6 +1,7 @@
1 1 #include "Headers/glImmediateModeEmulation.h"
2 2 #include "Headers/glResources.h"
3 3 #include "Headers/GLWrapper.h"
4 + #include "Hardware/Video/Headers/GFXDevice.h"
4 5
5 6 #include "core.h"
6 7 #include <glim.h>
  @@ -62,15 +63,16 @@
62 63 }
63 64
64 65 void glIMPrimitive::clear() {
66 + IMPrimitive::clear();
65 67 _imInterface->Clear();
66 68 }
67 69
68 70 void glIMPrimitive::renderBatch(bool wireframe) {
69 71 _imInterface->RenderBatch(wireframe);
70 - GL_API::registerDrawCall();
72 + GFX_DEVICE.registerDrawCall();
71 73 }
72 74
73 75 void glIMPrimitive::renderBatchInstanced(I32 count, bool wireframe) {
74 76 _imInterface->RenderBatchInstanced(count, wireframe);
75 - GL_API::registerDrawCall();
77 + GFX_DEVICE.registerDrawCall();
76 78 }