Commit graph

20 commits

Author SHA1 Message Date
sphere
0f874f4da7 Merge branch 'gitlab-ci' into 'master'
Mingw32 support

See merge request STJr/UltimateZoneBuilder!15
2023-12-09 12:46:21 +00:00
Indev
1999799d65 Fix symbol lookup error caused by GL_GetProcAddress name being mangled by g++ 2023-11-26 17:15:24 +03:00
Alam Ed Arias
34792d7047 Clang: remove unused private fields 2023-11-12 14:48:36 -05:00
Alam Ed Arias
fd7895f880 Update OpenGLContext.cpp
also cast glGetError via void *
2023-11-08 00:05:15 -05:00
Alam Ed Arias
ae8ccaf2f0 Mingw support
clear out warnings for _WIN32 codepath
2023-11-07 23:50:29 -05:00
Alam Ed Arias
133cba1a58 Mingw32 support
Build Win32 BuilderNative.dll with Mingw-w64
2023-11-07 22:42:25 -05:00
Magnus Norddahl
c98ed6575b Throw away 6 mb of memory at 1920x1080 to support AMD cards with awful drivers 2020-09-20 11:07:20 +02:00
Magnus Norddahl
2998fc514a Rewrite the OpenGL context creation to use exactly the same steps as GZDoom uses:
- dummy window destroyed immediately after getting the OpenGL 3 function pointers (debatable if that's even legal)
- calling the OpenGL 3 creation functions without an active opengl context (debatable if that's even legal)
- use wglChoosePixelFormatEXT even if it should be completely pointless
2020-09-19 17:43:03 +02:00
Magnus Norddahl
e3208f989c Add version info to the log file 2020-09-19 15:49:19 +02:00
Magnus Norddahl
77fd7da6c7 Don't create a depth/stencil buffer for the default frame buffer 2020-09-19 15:01:10 +02:00
alexey.lysiuk
127aff5cc4
Fixes for non-Windows platforms (#371 by alexey-lysiuk) 2020-03-17 21:37:58 +02:00
Magnus Norddahl
5363fe0717 Produce release build
Disable devil
Support mac build (which is useless as mono doesn't support winforms on modern macOS)
2020-01-06 08:52:59 +01:00
Magnus Norddahl
20f5f01b84 Unix build fixes 2020-01-06 08:07:52 +01:00
Magnus Norddahl
c10f70d595 Fix glError returning a null pointer 2020-01-02 20:34:55 +01:00
Magnus Norddahl
10702928ae Only call seterror if the context creation fails 2020-01-02 20:21:38 +01:00
Magnus Norddahl
6450bdcc67 Improve error message if OpenGL context creation fails 2020-01-02 19:45:45 +01:00
Magnus Norddahl
d71da60c40 Lower depth bits requirement 2020-01-02 19:07:31 +01:00
Magnus Norddahl
82db74b17a Fix profile not being used 2020-01-02 18:55:53 +01:00
Magnus Norddahl
d49a6e228b Work a little harder to find an usable OpenGL version 2020-01-02 18:53:37 +01:00
Magnus Norddahl
ef6d217623 Rearrange the code slightly so it is easier to add other backends 2019-12-23 20:09:38 +01:00
Renamed from Source/Native/OpenGLContext.cpp (Browse further)