Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 170 vs 171 for /trunk/Source Code/Hardware/Video/OpenGL/glImmediateModeEmulation.cpp

Diff revisions: vs.
  @@ -22,19 +22,19 @@
22 22
23 23 glIMPrimitive::glIMPrimitive() : IMPrimitive()
24 24 {
25 - _imInterface = New NS_GLIM::GLIM_BATCH();
26 - _imInterface->SetVertexAttribLocation(Divide::GL::VERTEX_POSITION_LOCATION);
27 - assert(_imInterface != NULL);
25 + _imInterface = New NS_GLIM::GLIM_BATCH();
26 + _imInterface->SetVertexAttribLocation(Divide::GL::VERTEX_POSITION_LOCATION);
27 + assert(_imInterface != NULL);
28 28 glimPrimitiveType[API_POINTS] = NS_GLIM::GLIM_POINTS;
29 - glimPrimitiveType[LINES] = NS_GLIM::GLIM_LINES;
30 - glimPrimitiveType[LINE_LOOP] = NS_GLIM::GLIM_LINE_LOOP;
31 - glimPrimitiveType[LINE_STRIP] = NS_GLIM::GLIM_LINE_STRIP;
32 - glimPrimitiveType[TRIANGLES] = NS_GLIM::GLIM_TRIANGLES;
33 - glimPrimitiveType[TRIANGLE_STRIP] = NS_GLIM::GLIM_TRIANGLE_STRIP;
34 - glimPrimitiveType[TRIANGLE_FAN] = NS_GLIM::GLIM_TRIANGLE_FAN;
35 - glimPrimitiveType[QUADS] = NS_GLIM::GLIM_QUADS;
36 - glimPrimitiveType[QUAD_STRIP] = NS_GLIM::GLIM_QUAD_STRIP;
37 - glimPrimitiveType[POLYGON] = NS_GLIM::GLIM_POLYGON;
29 + glimPrimitiveType[LINES] = NS_GLIM::GLIM_LINES;
30 + glimPrimitiveType[LINE_LOOP] = NS_GLIM::GLIM_LINE_LOOP;
31 + glimPrimitiveType[LINE_STRIP] = NS_GLIM::GLIM_LINE_STRIP;
32 + glimPrimitiveType[TRIANGLES] = NS_GLIM::GLIM_TRIANGLES;
33 + glimPrimitiveType[TRIANGLE_STRIP] = NS_GLIM::GLIM_TRIANGLE_STRIP;
34 + glimPrimitiveType[TRIANGLE_FAN] = NS_GLIM::GLIM_TRIANGLE_FAN;
35 + glimPrimitiveType[QUADS] = NS_GLIM::GLIM_QUADS;
36 + glimPrimitiveType[QUAD_STRIP] = NS_GLIM::GLIM_QUAD_STRIP;
37 + glimPrimitiveType[POLYGON] = NS_GLIM::GLIM_POLYGON;
38 38 }
39 39
40 40 glIMPrimitive::~glIMPrimitive()
  @@ -44,8 +44,8 @@
44 44
45 45 void glIMPrimitive::beginBatch() {
46 46 _imInterface->BeginBatch();
47 - _inUse = true;
48 - _zombieCounter = 0;
47 + _inUse = true;
48 + _zombieCounter = 0;
49 49 }
50 50
51 51 void glIMPrimitive::begin(PrimitiveType type){