Skip to content

Commit e099798

Browse files
committed
Merge remote-tracking branch 'origin' into 2015-07-cleanup
2 parents 4b29cc9 + 3ccbdc8 commit e099798

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/sdl_opengl_example/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ int main(int, char**)
1010
{
1111
// Setup SDL
1212
if (SDL_Init(SDL_INIT_EVERYTHING) != 0)
13+
{
14+
printf("Error: %s\n", SDL_GetError());
1315
return -1;
16+
}
1417

1518
// Setup window
1619
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);

imgui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ struct ImFontConfig
11271127
bool FontDataOwnedByAtlas; // true // TTF data ownership taken by the container ImFontAtlas (will delete memory itself). Set to true
11281128
int FontNo; // 0 // Index of font within TTF file
11291129
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.
11311131
bool PixelSnapH; // false // Align every character to pixel boundary (if enabled, set OversampleH/V to 1)
11321132
ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs
11331133
const ImWchar* GlyphRanges; // // List of Unicode range (2 value per range, values are inclusive, zero-terminated list)

0 commit comments

Comments
 (0)