ソースを参照

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)
 
-#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) );