OSDN Git Service

Make Blitter part of Renderer.
[android-x86/external-swiftshader.git] / src / OpenGL / libGLES_CM / main.cpp
index 036147f..6a2ddc9 100644 (file)
@@ -18,7 +18,7 @@
 
 #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"
@@ -93,14 +93,14 @@ es1::Context *getContext()
                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