소스 검색

ios: update XCode project and fix a GL test compilation issue.

legacy
Sam Hocevar sam 15 년 전
부모
커밋
473166f72d
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      src/debug/quad.cpp

+ 3
- 3
src/debug/quad.cpp 파일 보기

@@ -430,7 +430,7 @@ void DebugQuad::TickDraw(float deltams)
* *
* Renders an orange square. * Renders an orange square.
*/ */
#if !defined ANDROID_NDK
#if !defined ANDROID_NDK && !defined __APPLE__
glColor4f(orange.x, orange.y, orange.z, orange.w); glColor4f(orange.x, orange.y, orange.z, orange.w);
glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_VERTEX_ARRAY);


@@ -448,7 +448,7 @@ void DebugQuad::TickDraw(float deltams)
* *
* Renders a multicoloured square with varying colors. * Renders a multicoloured square with varying colors.
*/ */
#if !defined ANDROID_NDK
#if !defined ANDROID_NDK && !defined __APPLE__
glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_COLOR_ARRAY); glEnableClientState(GL_COLOR_ARRAY);


@@ -469,7 +469,7 @@ void DebugQuad::TickDraw(float deltams)
* Renders a multicoloured square with varying colors multiplied with an * Renders a multicoloured square with varying colors multiplied with an
* animated distorted checkerboard. * animated distorted checkerboard.
*/ */
#if !defined ANDROID_NDK
#if !defined ANDROID_NDK && !defined __APPLE__
glEnable(GL_TEXTURE_2D); glEnable(GL_TEXTURE_2D);
glBindTexture(GL_TEXTURE_2D, data->texture[0]); glBindTexture(GL_TEXTURE_2D, data->texture[0]);
glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_VERTEX_ARRAY);


불러오는 중...
취소
저장