Scott Talbert
|
b134589cbb
|
Fix OpenGL samples when using HiDPI displays
OpenGL seems to operate using physical pixels, so we need to factor in the
scale factor when setting the GL viewport.
Closes #17391.
Closes https://github.com/wxWidgets/wxWidgets/pull/1470
|
2019-10-08 02:14:21 +02:00 |
|
Vadim Zeitlin
|
2cc44337c6
|
Use only wxFont ctor from wxFontInfo in the samples
Follow the documentation advice and prefer to use the ctor taking
wxFontInfo as it makes the code slightly shorter and more readable.
|
2018-09-17 15:29:42 +02:00 |
|
Manuel Martin
|
d6fb44e158
|
Add a new OpenGL pyramid sample
This sample shows the use of modern OpenGL (3.2).
Closes #16910.
|
2016-02-23 01:04:25 +01:00 |
|