File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
examples/sdl_opengl_example Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ int main(int, char**)
10
10
{
11
11
// Setup SDL
12
12
if (SDL_Init (SDL_INIT_EVERYTHING) != 0 )
13
+ {
14
+ printf (" Error: %s\n " , SDL_GetError ());
13
15
return -1 ;
16
+ }
14
17
15
18
// Setup window
16
19
SDL_GL_SetAttribute (SDL_GL_DOUBLEBUFFER, 1 );
Original file line number Diff line number Diff line change @@ -1127,7 +1127,7 @@ struct ImFontConfig
1127
1127
bool FontDataOwnedByAtlas; // true // TTF data ownership taken by the container ImFontAtlas (will delete memory itself). Set to true
1128
1128
int FontNo; // 0 // Index of font within TTF file
1129
1129
float SizePixels; // // Size in pixels for rasterizer
1130
- int OversampleH, OversampleV; // 2, 2 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis.
1130
+ int OversampleH, OversampleV; // 3, 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis.
1131
1131
bool PixelSnapH; // false // Align every character to pixel boundary (if enabled, set OversampleH/V to 1)
1132
1132
ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs
1133
1133
const ImWchar* GlyphRanges; // // List of Unicode range (2 value per range, values are inclusive, zero-terminated list)
You can’t perform that action at this time.
0 commit comments