Coding style fixes
This commit is contained in:
parent
092e6ad948
commit
43321b8ed7
|
@ -319,14 +319,11 @@ void EventThread::process(RGSSThreadData &rtData)
|
|||
void EventThread::cleanup()
|
||||
{
|
||||
SDL_Event event;
|
||||
|
||||
while (SDL_PollEvent(&event))
|
||||
{
|
||||
if (event.type == usrId[REQUEST_MESSAGEBOX])
|
||||
{
|
||||
free(event.user.data1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void EventThread::resetInputStates()
|
||||
{
|
||||
|
@ -424,6 +421,7 @@ void EventThread::notifyFrame()
|
|||
{
|
||||
fps.immInitFlag = false;
|
||||
fps.immFiniFlag = true;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -461,7 +461,7 @@ struct GraphicsPrivate
|
|||
{
|
||||
if (threadData->windowSizeMsg.pollChange(&winSize.x, &winSize.y))
|
||||
{
|
||||
// some GL drivers change the viewport on window resize
|
||||
/* some GL drivers change the viewport on window resize */
|
||||
glState.viewport.refresh();
|
||||
recalculateScreenSize();
|
||||
updateScreenResoRatio();
|
||||
|
|
Loading…
Reference in New Issue