Draw Counts are active, but ScreenBLT is not (that is, no graphics are being drawn to the window, (SDL and OpenGL on windows 10.0.26200.8037)). #22
Replies: 1 comment
-
|
Ok, just checked it again, line 78 in the GameApp.cpp had an if statement in it which caused the black screen. Question has been self answered... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Been a while since i've messed with this library after my discord leave so please forgive me of error.
Been trying to make a simple title screen, with progress bar and all sorts of goodies.
Till recently, my own project suddenly stopped displaying all the images, fonts and resources, despite widgets being respectfully resized, added, and deleted in GameApp.cpp. The images are also placed at their respective locations, the titlescreen has been properly added, but nothing seems to be of avail. Nothing but a black screen. Every. Time. I cant even make an image move anymore, either. Neither can I not make arrays of images unless if something from std::lib is used. And even that is pretty on Poplib. -_-.
Now a couple things: Please excuse the elephant in the room: The color palette. Yes, I know its gross and disgusting, but this actually helps me read this code, so please do not whine and complain about it in the comments:
Question is: What am I doing wrong?
Snip of TitleScreen.hpp:

Snip of the GameApp.hpp:

Main.cpp:

GameApp.cpp:

Beta Was this translation helpful? Give feedback.
All reactions