Skip to content

Commit

Permalink
Get rid of vita2d stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
isage committed Dec 7, 2020
1 parent 767bae5 commit 8b14861
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/graphics/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
#include <sstream>
#include <iomanip>

#if defined(__VITA__)
#include <vita2d.h>
#endif

namespace NXE
{
namespace Graphics
Expand Down Expand Up @@ -69,7 +65,6 @@ bool Renderer::isWindowVisible()

bool Renderer::initVideo()
{
// uint32_t window_flags = SDL_WINDOW_SHOWN | SDL_WINDOW_OPENGL;
uint32_t window_flags = SDL_WINDOW_SHOWN;

const NXE::Graphics::gres_t *res = getResolutions();
Expand Down Expand Up @@ -119,9 +114,6 @@ bool Renderer::initVideo()

if (!_renderer)
{
#if defined(__VITA__)
// vita2d_init_advanced(2 * 1024 * 1024);
#endif
_renderer = SDL_CreateRenderer(_window, -1, SDL_RENDERER_ACCELERATED);
}
if (!_renderer)
Expand Down

0 comments on commit 8b14861

Please sign in to comment.