'no NPOT issues on msvc but when on mingw-w64 the screen stays blank
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
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|