Commit Graph

40 Commits

Author SHA1 Message Date
Unknown W. Brackets
0039eab878 Offer to toggle graphics backends on any failure.
So, even if Direct3D 9 fails.
2014-09-26 21:20:51 -07:00
Unknown W. Brackets
c83b5c0c16 Restart to d3d9/gles preserving arguments. 2014-09-14 15:24:42 -07:00
Henrik Rydgard
010cf68545 If OpenGL is not supported properly on Windows, switch to D3D automatically.
Needs some lang work and probably better wording.
2014-09-13 02:46:27 +02:00
Henrik Rydgard
4231af2c0f Disable OpenGL debug log output 2014-08-23 10:47:32 +02:00
Henrik Rydgard
92c3775d95 Start hooking up D3D 2014-08-22 20:55:04 +02:00
Henrik Rydgard
808f05da89 (Partially) slip thin3d underneath DrawBuffer. 2014-08-22 20:54:53 +02:00
Henrik Rydgard
56cee3c00e Prevent rendering and multiple WM_SIZE events when switching between windowed and fullscreen
May help #6295 but also it may not, I can't test it as I don't have that GPU.

Also gets rid of some outdated code.
2014-06-29 21:08:20 +02:00
Henrik Rydgard
47145745dc Fix GL context creation on Windows. Was creating 3.1 contexts on new nVidia drivers. 2014-04-01 11:03:36 +02:00
The Dax
c5036511b0 Include the renderer string too, for possibly extra helpful info. 2014-03-26 16:27:54 -04:00
The Dax
842fb2f94d Win32: when an invalid OpenGL driver is detected, don't offer a choice of quitting or not, just quit. 2014-03-26 16:27:54 -04:00
Henrik Rydgård
846efca38d Allow the user to try anyway if we detect OpenGL 1.x , in case the driver is lying. 2013-10-28 14:02:56 +01:00
The Dax
3b285b2580 Use a more robust string check. 2013-10-16 15:05:50 -04:00
The Dax
b49be673b6 Add default error message and title. 2013-10-16 14:50:56 -04:00
The Dax
e52ed9edc9 Combine two error messages down into one, make it translatable, and fix some grammatical issues in comments. 2013-10-16 14:25:47 -04:00
Henrik Rydgård
ecc8736d6b Make the early OpenGL version check a bit more fuzzy. 2013-10-15 14:59:41 +02:00
Henrik Rydgard
c4004b8230 Refuse to run really early in the startup process if there's no chance it will work.
Avoids crashing out on startup with old GPUs.
2013-10-15 12:15:29 +02:00
Unknown W. Brackets
79143b56d2 Allow config files to be placed under the memstick.
This way, they can be configured more easily on Android, etc.
2013-10-12 16:02:03 -07:00
Henrik Rydgard
7a0b1e40c6 Update native (making GLES3 features possible on desktop). Minor optimization. 2013-10-08 21:50:43 +02:00
Henrik Rydgard
c88920be4b Bail more gracefully if no real OpenGL driver is installed on XP 2013-09-11 21:35:44 +02:00
Unknown W. Brackets
08b41df6a2 Change a few more log types. 2013-09-07 13:31:14 -07:00
Henrik Rydgard
ae92e75281 Windows: Create opengl context with stencil buffer 2013-09-04 11:31:59 +02:00
Henrik Rydgard
ee6f2613a8 Win32: Ask for destination alpha in the OpenGL context. Fixes some issues in non-buffered rendering, see #3436.
This apparently still happens on Android so will need to fix it separately there.
2013-08-27 16:25:44 +02:00
Henrik Rydgard
55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
Henrik Rydgard
955ad2a6e4 swap_control_tear doesn't seem to work out for our timing or something. Let's do regular vsync. 2013-08-24 11:56:41 +02:00
Unknown W. Brackets
97098f109a Use CommonWindows.h from Windows/ too.
Might as well.  Everything still builds fine.
2013-07-28 21:04:20 -07:00