e73d1f7f90
source/Platform/Win32/Win32GLContext.cpp: skip goto in createGLContext()
2024-07-05 01:02:59 +02:00
24da7f45e0
Rename Display to Window.
...
It makes more sense to be consistent and always call it window.
2023-08-22 07:12:47 +02:00
76aa838e8e
source/Platform/Win32/Win32GLContext.cpp: in isActive() make sure this function returns false if m_renderContext is null.
2023-08-02 22:48:40 +02:00
c1f1dd75bd
GLContext: remove setSize() and set glViewport() in Display::onReshape()
2023-08-02 22:30:45 +02:00
2c76d3bc87
source/Platform/Win32/Win32GLContext.cpp: no need to have our own wgl extension loader (fixed in latest glad2)
2020-09-21 18:00:08 +02:00
a96e78bca5
source/Platform/Win32/Win32GLContext.cpp: in createGLContext() check return value from ensureExtensionsLoaded()
2020-09-20 16:46:51 +02:00
e3c01d4897
source/Platform/Win32/Win32GLContext.cpp: make ensureExtensionsLoaded() return bool.
2020-09-20 16:45:58 +02:00
6805e392a7
source/Platform/Win32/Win32GLContext.cpp: in createGLContext() delete temporary context as the last step.
2020-09-20 16:42:44 +02:00
4df668e68f
Minor formating fixes.
2019-12-29 22:26:05 +01:00
9835082b67
source/Platform/Win32/Win32GLContext.cpp: minor fixes to log strings.
2019-12-24 20:29:13 +01:00
a39069cdb9
GL/WGL: Upgrade to glad2
2019-12-24 20:29:16 +01:00
3b27db9435
include/Spectre/System/Log.h: implement a static "Log" class instead of just a function.
2019-11-10 14:56:56 +01:00
e10daeaaa6
Move everything from global namespace to "sp" namespace
...
When writing the X11 (linux) implementation there was a problem with X11 defining a "Display" type and we also have a Display class in the engine.
So to fix that problem and minimize the risk for running into other name conflicts. We move everything from global namespace.
2019-09-30 19:10:17 +02:00
a1804cd3df
source/Platform/Win32/Win32GLContext.cpp: use GLAD
2018-05-14 16:27:18 +02:00
9e1f6271cd
source/Platform/Win32/Win32GLContext.cpp: forcing 3.2 Core context.
2018-02-28 11:58:41 +01:00
2da2601149
GLContext: Remove bpp parameter from create()
...
Hardcode to 32 bits for now.
2016-02-17 13:28:32 +01:00
edfc5298e1
Initial commit
2016-01-10 09:26:43 +01:00