소스 검색

Fixed build

Sam Lantinga 8 년 전
부모
커밋
65c55fdd84
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/test/SDL_test_font.c

+ 2 - 2
src/test/SDL_test_font.c

@@ -3239,9 +3239,9 @@ int SDLTest_DrawString(SDL_Renderer * renderer, int x, int y, const char *s)
 void SDLTest_CleanupTextDrawing(SDL_Renderer *renderer)
 {
     int i;
-    for (i = 0; i < SDL_ARRAYSIZE(SDLTest_CharTextureCache); ++i) {
+    for (i = 0; i < SDL_arraysize(SDLTest_CharTextureCache); ++i) {
         if (SDLTest_CharTextureCache[i]) {
-            SDL_TextureDestroy(SDLTest_CharTextureCache[i]);
+            SDL_DestroyTexture(SDLTest_CharTextureCache[i]);
             SDLTest_CharTextureCache[i] = NULL;
         }
     }