weigert / TinyEngine

Tiny OpenGL Wrapper / 3D Engine in C++
1.01k stars 65 forks source link

fix for wsl2 #48

Open alexk195 opened 1 month ago

alexk195 commented 1 month ago

Tried to fix it working on WSL somehow. Please review the change of #ifndef to #ifdef as it makes more sense to me to have ifdef there. The currently supported opengl version in WSL is 3.1 so I changed it to this version. Also added some printing so debugging is easier.