Sfoglia il codice sorgente

Merge pull request #1503 from seanpaultaylor/next

Appends GP_ for USE_ features for NEON and VAO
Sean Taylor 11 anni fa
parent
commit
623311c7d0
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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)
 
-#ifdef USE_NEON
+#ifdef GP_USE_NEON
 #include "MathUtilNeon.inl"
 #else
 #include "MathUtil.inl"

+ 1 - 1
gameplay/src/VertexAttributeBinding.cpp

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