Browse Source

GL Performance improvements

Thomas Buck 9 years ago
parent
commit
a09a34c8ad
3 changed files with 4 additions and 3 deletions
  1. 1
    0
      ChangeLog.md
  2. 2
    2
      src/Entity.cpp
  3. 1
    1
      src/Room.cpp

+ 1
- 0
ChangeLog.md View File

@@ -4,6 +4,7 @@
4 4
 
5 5
     [ 20150330 ]
6 6
     * Removed custom Font support
7
+    * Some GL performance improvements
7 8
 
8 9
     [ 20150326 ]
9 10
     * No longer including gl.h globally, now only using gl33.h where needed.

+ 2
- 2
src/Entity.cpp View File

@@ -18,8 +18,8 @@
18 18
 #define CACHE_MODEL 2
19 19
 
20 20
 bool Entity::showEntitySprites = true;
21
-bool Entity::showEntityMeshes = true;
22
-bool Entity::showEntityModels = true;
21
+bool Entity::showEntityMeshes = false;
22
+bool Entity::showEntityModels = false;
23 23
 
24 24
 void Entity::display(glm::mat4 VP) {
25 25
     if ((cache == -1) || (cacheType == -1)) {

+ 1
- 1
src/Room.cpp View File

@@ -13,7 +13,7 @@
13 13
 #include <glm/gtx/intersect.hpp>
14 14
 
15 15
 bool Room::showBoundingBox = false;
16
-bool Room::showRoomModels = true;
16
+bool Room::showRoomModels = false;
17 17
 bool Room::showRoomSprites = true;
18 18
 bool Room::showRoomGeometry = true;
19 19
 

Loading…
Cancel
Save