Open jonaski opened 3 months ago
Looks like there's no active or an improperly configured (e.g. just a 1.x fixed function profile) OpenGL context.
The sampler is the first object being created during construction, and we don't check the return value of the sampler allocator (not great, but should work). The crash is happening in the following line when this object is used.
Can you provide information about the GL profile used for the context in question? Specifically, the core profile version. It should be 3.3 for projectM to work.
Additionally, it may be required to initialize GLEW before creating the projectM instance, otherwise some GL functions may not be initialized properly and point to either 0 or a random address.
Please confirm the following points:
Affected Application
Third-Party Integration (Kodi, VLC, etc. - please specify below)
Affected Version
4.1.1
Operating System
Windows
Additional Application Details
Visual Studio 2022 on Windows 10.
Type of Defect
Crash (unexpected closing, OS crash dialog)
Log Output
Describe the Issue
Crash occurs when calling projectm_create()