Treballant en la intro
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "section.h"
|
||||
#include "mouse.h"
|
||||
#include "resource.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace globalEvents
|
||||
{
|
||||
@@ -16,12 +17,12 @@ namespace globalEvents
|
||||
return;
|
||||
case SDL_RENDER_DEVICE_RESET:
|
||||
case SDL_RENDER_TARGETS_RESET:
|
||||
Resource::get()->reloadTextures();
|
||||
//Resource::get()->reloadTextures();
|
||||
break;
|
||||
case SDL_WINDOWEVENT:
|
||||
if (event.window.event == SDL_WINDOWEVENT_SIZE_CHANGED)
|
||||
{
|
||||
Resource::get()->reloadTextures();
|
||||
//Resource::get()->reloadTextures();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user