소스 검색

Merge pull request #1503 from seanpaultaylor/next

Appends GP_ for USE_ features for NEON and VAO
Sean Taylor 11 년 전
부모
커밋
623311c7d0
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) );