omar
85f9694bd4
Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). ( #1870 )
...
Read examples/README.txt for some details.
ImDrawData: Added DisplayPos, DisplaySize fields honored by all backends (not strictly necessary to honor just now, but doing it to be ahead)
ago%!(EXTRA string=7 years)
omar
06aa9d8d9a
Examples: Fixed Makefile, batch files.
ago%!(EXTRA string=7 years)
omar
19b92751b9
Examples: Updated Makefile and batch files to work with new examples. Using lowercase "gl.h" as it seems this is what Linux wants.
ago%!(EXTRA string=7 years)
Sam Hocevar
124d8522b1
Do not store compiled objects outside the project tree.
ago%!(EXTRA string=7 years)
Sam Hocevar
b6f251103b
Define SOURCES instead of OBJS in Makefiles.
...
OBJS is still deduced from SOURCES, but this change gives better control
over where the object files get actually written.
ago%!(EXTRA string=7 years)
Sam Hocevar
d4f63c3844
Use make variables $@ and $^ where appropriate.
ago%!(EXTRA string=7 years)
Sam Hocevar
551932697d
Ensure `make clean` is idempotent.
...
Prior to this, `make clean` would fail if the project was not already
fully built, and a second invokation would always fail.
ago%!(EXTRA string=7 years)
omar
91d77be36e
Examples: Makefile leave CXX alone, instead leave commented out options. (nb: codeship doesn't seem have clang++)
ago%!(EXTRA string=7 years)
Omar Cornut
3cdd2096ec
Examples: Use Clang in old Makefile.
ago%!(EXTRA string=7 years)
omar
ddff378daf
Examples: Synced Makefile comments. Added build/ folder into git ignore list/
ago%!(EXTRA string=7 years)
radius
8b6896faf9
add SDL GL3 makefile
ago%!(EXTRA string=8 years)
radius
e0aac34672
fix compilation on MINGW
ago%!(EXTRA string=8 years)
ocornut
1396659b72
Examples: Speculative fix for OSX Makefile to make Travis happy (re #812 )
ago%!(EXTRA string=8 years)
Felipe Oliveira Carvalho
6e6f04f513
Fix Mac OS X build and remove cruft from Makefile
ago%!(EXTRA string=9 years)
ocornut
031d4e689d
Examples: OpenGL3: Revert Makefile change for OSX for now ( #812 )
ago%!(EXTRA string=9 years)
Kun Lin
aa0cb13aa4
Correct name for linking opengl3_example
...
According to glfw offcial site, linking `libglfw.3.dylib` etc should
use `-lglfw`.
Changed this made the compilation on my Mac successfully.
ago%!(EXTRA string=9 years)
ocornut
b8f86ec4bd
Examples: OpenGL2/3 Makefile; Added -lGL to Linux build
ago%!(EXTRA string=9 years)
radius
a465b2b3d8
add msys2/mingw64 target
ago%!(EXTRA string=10 years)
ocornut
da807e55ea
Examples: Ignore list a little more friendly to Unix systems.
ago%!(EXTRA string=10 years)
Thomas Pöchtrager
947cf3434f
Added printf attribute to printf like text formatting functions
ago%!(EXTRA string=10 years)
ocornut
52a74701f5
Updated projects to reference new files ( #219 )
...
Didn't update iOS example (#247 )
ago%!(EXTRA string=10 years)
ocornut
06fbeed41a
Examples: Fixed Makefile
ago%!(EXTRA string=10 years)
ocornut
55edd522c2
Examples: Fixed Makefile
ago%!(EXTRA string=10 years)
ocornut
3f86554457
Examples: Makefile fixes.
ago%!(EXTRA string=10 years)
ocornut
4da432bd7b
Examples: Makefile
ago%!(EXTRA string=10 years)
ocornut
545a57d253
Examples: Refactored opengl_example into a glfw specific file that can be copied and pasted.
...
Other examples will follow.
ago%!(EXTRA string=10 years)
ocornut
b911f96a56
Examples: Speculative Makefile fix. I should get a Linux box instead on relying on Jenkins, this is pretty embarrassing.
ago%!(EXTRA string=10 years)
ocornut
dc7cdb3025
Examples: Fix Makefile
ago%!(EXTRA string=10 years)
ocornut
5aaf0cd2dc
Examples: Fix OpenGL3 example Makefile
ago%!(EXTRA string=10 years)
ocornut
3ed38f3313
Replaced dependency on glew (inc. prebuilt one for Windows) by gl3w in source form
...
Expecting something to break now.
ago%!(EXTRA string=10 years)
ocornut
987188d437
Fix Clang warning with offsetof() macro? Added -Wall in OpenGL 3 example.
ago%!(EXTRA string=11 years)
Olivier Chatry
a8d2bc69ed
added opengl3 sample, mix from @ocornut and @thelinked
ago%!(EXTRA string=11 years)
Tomoki SHISHIKURA (RTX-M7)
9bb95db68a
opengl_example makefile cross platform supported.
ago%!(EXTRA string=11 years)
ocornut
f4ee74b312
Renamed Makefile
ago%!(EXTRA string=11 years)
Marc Planard
e2655d104e
add a quick and dirty makefile to build on linux
ago%!(EXTRA string=11 years)