Skip to content

Commit

Permalink
Windows port: Include OpenGL pixel format index in log.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnotherCommander authored Oct 5, 2024
1 parent 13b8895 commit 1b94d45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SDL/MyOpenGLView.m
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ - (id) init
#if OOLITE_WINDOWS
SDL_GL_GetAttribute(SDL_GL_PIXEL_TYPE_FLOAT, &testAttrib);
OOLog(@"display.initGL", @"Pixel type is float : %d", testAttrib);

OOLog(@"display.initGL", @"Pixel format index: %d", GetPixelFormat(GetDC(SDL_Window)));
#endif

// Verify V-sync successfully set - report it if not
Expand Down

0 comments on commit 1b94d45

Please sign in to comment.