#include "libGLES_CM.hpp"
#include "Framebuffer.h"
-#include "libEGL/EGLSurface.h"
+#include "common/Surface.hpp"
#include "Common/Thread.hpp"
#include "Common/SharedLibrary.hpp"
#include "common/debug.h"
return static_cast<es1::Context*>(context);
}
- return 0;
+ return nullptr;
}
Device *getDevice()
{
Context *context = getContext();
- return context ? context->getDevice() : 0;
+ return context ? context->getDevice() : nullptr;
}
// Records an error code