소스 검색

Replace hardcoded 0 by provided constant

DricomDragon 4 년 전
부모
커밋
1be40fc39a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main.cpp

+ 1 - 1
main.cpp

@@ -57,7 +57,7 @@ int main()
 		// [3.3] Draw phase
 		SDL_FillRect(screen, 0, SDL_MapRGB(screen->format, 0, 255, 255));
 
-		SDL_BlitSurface(grass, 0x0, screen, 0x0);
+		SDL_BlitSurface(grass, NULL, screen, NULL);
 
 		SDL_Flip(screen);