Преглед изворни кода

Appends GP_ for USE_ features for NEON and VAO

seanpaultaylor пре 11 година
родитељ
комит
cd7df5e234
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      gameplay/src/MathUtil.h
  2. 1 1
      gameplay/src/VertexAttributeBinding.cpp

+ 1 - 1
gameplay/src/MathUtil.h

@@ -73,7 +73,7 @@ private:
 
 
 #define MATRIX_SIZE ( sizeof(float) * 16)
 #define MATRIX_SIZE ( sizeof(float) * 16)
 
 
-#ifdef USE_NEON
+#ifdef GP_USE_NEON
 #include "MathUtilNeon.inl"
 #include "MathUtilNeon.inl"
 #else
 #else
 #include "MathUtil.inl"
 #include "MathUtil.inl"

+ 1 - 1
gameplay/src/VertexAttributeBinding.cpp

@@ -89,7 +89,7 @@ VertexAttributeBinding* VertexAttributeBinding::create(Mesh* mesh, const VertexF
     // Create a new VertexAttributeBinding.
     // Create a new VertexAttributeBinding.
     VertexAttributeBinding* b = new VertexAttributeBinding();
     VertexAttributeBinding* b = new VertexAttributeBinding();
 
 
-#ifdef USE_VAO
+#ifdef GP_USE_VAO
     if (mesh && glGenVertexArrays)
     if (mesh && glGenVertexArrays)
     {
     {
         GL_ASSERT( glBindBuffer(GL_ARRAY_BUFFER, 0) );
         GL_ASSERT( glBindBuffer(GL_ARRAY_BUFFER, 0) );