OSDN Git Service

SDL_Vulkan_GetDrawableSize 新規追加 https://wiki.libsdl.org/SDL_Vulkan_GetDrawableSize
[sdl2referencejp/sdl2referencejp.git] / SDL_GetCurrentDisplayMode.html
index 2a12d36..12a5959 100644 (file)
@@ -47,11 +47,11 @@ int main(int argc, char* argv[])
 \r
     if(should_be_zero != 0)\r
       // \83G\83\89\81[\94­\90¶...\r
-      printf("\83r\83f\83I\83f\83B\83X\83v\83\8c\83C #%d \82Ì\83f\83B\83X\83v\83\8c\83C\83\82\81[\83h\82ð\93¾\82ç\82ê\82È\82©\82Á\82½: %s", i, SDL_GetError());\r
+      SDL_Log("\83r\83f\83I\83f\83B\83X\83v\83\8c\83C #%d \82Ì\83f\83B\83X\83v\83\8c\83C\83\82\81[\83h\82ð\93¾\82ç\82ê\82È\82©\82Á\82½: %s", i, SDL_GetError());\r
 \r
     else \r
       // \90¬\8c÷, \8c»\8dÝ\82Ì\83f\83B\83X\83v\83\8c\83C\83\82\81[\83h\82ð\95\\8e¦\82·\82é\r
-      printf("\83f\83B\83X\83v\83\8c\83C #%d: \8c»\8dÝ\82Ì\83f\83B\83X\83v\83\8c\83C\83\82\81[\83h\82Í %dx%dpx @ %dhz\n", i, current.w, current.h, current.refresh_rate);\r
+      SDL_Log("\83f\83B\83X\83v\83\8c\83C #%d: \8c»\8dÝ\82Ì\83f\83B\83X\83v\83\8c\83C\83\82\81[\83h\82Í %dx%dpx @ %dhz", i, current.w, current.h, current.refresh_rate);\r
 \r
   }\r
  \r