1
General / Re: Why is Render Window appearing blank?
« on: October 08, 2015, 02:01:22 am »
Ok i'm going to rephrase this question.
Most of the time the window opens and display everything correctly. Every once in a while it will appear as a blank window even though there are no changes in the code. Has anyone ever seen or heard of this, or has an idea of what could cause this so. I fixed the problem by delaying the window display until I click on a GUI button I made, which is how I wanted it to prompt anyway.
The code associated with this window is spread across 5 header files. I'm pretty sure you don't want to sift through 10 pages code. I assure you the pollevents->clear->draw->display routine is there, that is not the problem.
Most of the time the window opens and display everything correctly. Every once in a while it will appear as a blank window even though there are no changes in the code. Has anyone ever seen or heard of this, or has an idea of what could cause this so. I fixed the problem by delaying the window display until I click on a GUI button I made, which is how I wanted it to prompt anyway.
The code associated with this window is spread across 5 header files. I'm pretty sure you don't want to sift through 10 pages code. I assure you the pollevents->clear->draw->display routine is there, that is not the problem.