Skip to content

Commit 2fd94e6

Browse files
committed
add gl context version check, fix race condition, better func pointer types, always detect backend, enum naming fix
1 parent 1700a18 commit 2fd94e6

9 files changed

Lines changed: 760 additions & 111 deletions

src/libprojectM/ProjectMCWrapper.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
namespace libprojectM {
1717

18-
1918
void projectMWrapper::PresetSwitchRequestedEvent(bool isHardCut) const
2019
{
2120
if (m_presetSwitchRequestedEventCallback)

src/libprojectM/ProjectMCWrapper.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ namespace libprojectM {
3030
class projectMWrapper : public ProjectM
3131
{
3232
public:
33-
3433
void PresetSwitchFailedEvent(const std::string& presetFilename,
3534
const std::string& failureMessage) const override;
3635
void PresetSwitchRequestedEvent(bool isHardCut) const override;

src/libprojectM/Renderer/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ add_library(Renderer OBJECT
3232
MilkdropNoise.cpp
3333
MilkdropNoise.hpp
3434
OpenGL.h
35+
PlatformGLContextCheck.cpp
36+
PlatformGLContextCheck.hpp
3537
PlatformGLResolver.cpp
3638
PlatformGLResolver.hpp
3739
PlatformLoader.hpp
@@ -62,7 +64,7 @@ add_library(Renderer OBJECT
6264
VertexBufferUsage.hpp
6365
VertexIndexArray.cpp
6466
VertexIndexArray.hpp
65-
)
67+
)
6668

6769
target_include_directories(Renderer
6870
PRIVATE

0 commit comments

Comments
 (0)