23 Commits (a9b0abe493d4209660e68d0a1850b413c18fd941)

Author SHA1 Message Date
Nick Gravelyn a9b0abe493 Automatically updating DisplayFrameBufferScale by reading the OpenGL drawable size and comparing with the window size. This fixed dear imgui which was rendering only to 1/4 of my window. 9 years ago
ocornut 04396ed7a9 FAQ and comments about the use of ImTextureID (#562, #561, #521, #510, #497, #475 ...) 9 years ago
ocornut 1dcb9c877d Examples: OpenGL: Fix early return on zero-sized framebuffer breaking GL state (#486, #547) 9 years ago
ocornut 2813a44dcc Examples: OpenGL: skip rendering and calling glViewport() if we have a zero-fixed buffer (#486) 9 years ago
ocornut 9e86d0e225 Examples: SDL/OpenGL: Tabs to spaces 9 years ago
ocornut 217a6c875a Examples: OpenGL: Tentative fix for miscaled call to glViewport on high-DPI screens (#441)
Fix for 980ca286fe
9 years ago
ocornut 6cee2fca94 Examples: Not clearing input data/tex data in atlas (will be required for dynamic atlas anyway). Effectively fix resizing in DX examples.
+ Standardized comments.
9 years ago
ocornut 6800939e73 Examples: Header comments. 9 years ago
zryan3 aa6cb32bd4 fixed text referencing GLFW library in SDL examples 9 years ago
ocornut e46c7b70eb Examples: Most examples apps detect if ImDrawIdx was changed to 32-bits instead of 16 9 years ago
ocornut 980ca286fe Examples: OpenGL2/3: Save/setup/restore viewport as part of render function. Update SDL example to match GL2 one. (fix #392) 9 years ago
ocornut 5d53f37a5d Examples: Possibly clarified the intent of imgui_impl_* files. 9 years ago
ocornut 7d6ddbe5c8 Examples: comment on setting the RenderDrawListsFn function. 9 years ago
Thomas Pöchtrager 3604aecf8f Minor Windows adjustments 9 years ago
Daniel Gibson b7d1b91e4b Use ImGuiIO::AddInputCharactersUTF8() in SDL2 example
Now Unicode text input works in this example.
9 years ago
Daniel Gibson 02a0967243 Fix SDL2-example for Linux
The header is called "SDL_opengl.h" - case matters on Linux.

The main() function must indeed be called main(), on Windows it'll be
renamed to SDL_main (for SDL2main.lib) by #define in SDL_main.h
(which is included by SDL.h)

I added an entry to the example's README that describes how to build
it on Linux.
9 years ago
ocornut 60dd221737 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives 9 years ago
ocornut 1845ff4690 SDL example: tweaks (#233 #226) 9 years ago
ocornut b7e63c163c SDL example: update for indexed rendering. 9 years ago
ocornut a14f6696a3 SDL example: more cleanup to match other examples (#233 #226) 9 years ago
ocornut 22e099366f SDL example: further cleanup to match other examples (#233 #226) 9 years ago
ocornut 4167528001 SDL example: moved event loop to main.cpp , adding page up/page down. (#226) 9 years ago
ocornut b7a2a6b23f SDL example: renamed folder, added in README 9 years ago