zturtleman / mm3d

Maverick Model 3D is a 3D model editor and animator for games.
https://clover.moe/mm3d
GNU General Public License v2.0
110 stars 22 forks source link

QOpenGLWidget crashes on Windows with OpenGL 1.1 #167

Open zturtleman opened 2 years ago

zturtleman commented 2 years ago

In a Windows 10 VM with OpenGL 1.1, Maverick crashes due to QOpenGLWidget when attempting to call unsupported OpenGL functions.

I might be okay with just telling people to install a software renderer opengl32.dll if Maverick crashes at start up but I can't get OpenCL and OpenGL compatibility pack or mesa-dist-win to even be acknowledge by anything in my Windows 10 VM.

Reverting switching to QOpenGLWidget and OpenGL 1.2 GL_CLAMP_TO_EDGE fixes Windows with OpenGL 1.1. However QOpenGLWidget is needed for Wayland on Linux to work correctly. The changes are pretty intrusive so I don't want to wrap the old QGLWidget in #ifdef _WIN32.