no NPOT issues on msvc but when on mingw-w64 the screen stays blank

84 Views Asked by At

I'm using olc::PixelGameEngine and I'm using the Example Program except that I'm enabling STB image. on MSVC, PGE worked great for several months without any issues but recently i moved to make+mingw-w64 and I'm getting a white screen at startup. but when specifying the width and height to both be 256 it works fine, which means that my driver only supports NPOT. I want to know why on MSVC it worked but on mingw-w64 it didn't

here are the commands I'm using the build the example project

g++ -g3 -ggdb -m64 -I.\include\stb_image\ -DOLC_IMAGE_STB -Wall -Wno-unknown-pragmas -Wno-switch -Wno-sign-compare -Wno-reorder -std=c++20 -c olcExampleProgram.cpp -o a.o

g++ -g3 -ggdb  a.o -o a.exe -luser32 -lgdi32 -lopengl32 -lShlwapi -ldwmapi -lstdc++ -lstdc++fs
0

There are 0 best solutions below