mirror of
https://github.com/love2d/love-android.git
synced 2026-08-18 19:54:18 +02:00
first working build
This commit is contained in:
@@ -135,8 +135,6 @@ void Graphics::setViewportSize(int width, int height)
|
||||
|
||||
bool Graphics::setMode(int width, int height)
|
||||
{
|
||||
SDL_Log ("Graphics::setMode %d,%d", width, height);
|
||||
|
||||
this->width = width;
|
||||
this->height = height;
|
||||
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
// C
|
||||
#include <cstring>
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
namespace love
|
||||
{
|
||||
namespace graphics
|
||||
@@ -54,10 +52,8 @@ bool OpenGL::initContext()
|
||||
if (contextInitialized)
|
||||
return true;
|
||||
|
||||
if (!gladLoadGL()) {
|
||||
SDL_Log ("Initialization of OpenGL failed! Aborting!");
|
||||
abort();
|
||||
}
|
||||
if (!gladLoadGL())
|
||||
return false;
|
||||
|
||||
initOpenGLFunctions();
|
||||
initVendor();
|
||||
|
||||
Reference in New Issue
Block a user