fixing syntax issues

This commit is contained in:
Sam Gateau 2015-04-15 10:16:04 -07:00
parent 5ebbdaca05
commit 8b97d2585a
3 changed files with 3 additions and 9 deletions

View file

@ -15,12 +15,7 @@
using namespace gpu; using namespace gpu;
Framebuffer::Framebuffer() Framebuffer::~Framebuffer() {
{
}
Framebuffer::~Framebuffer()
{
} }
Framebuffer* Framebuffer::create() { Framebuffer* Framebuffer::create() {

View file

@ -149,7 +149,7 @@ protected:
// Non exposed // Non exposed
Framebuffer(const Framebuffer& framebuffer) {} Framebuffer(const Framebuffer& framebuffer) {}
Framebuffer(); Framebuffer() {}
// This shouldn't be used by anything else than the Backend class with the proper casting. // This shouldn't be used by anything else than the Backend class with the proper casting.
mutable GPUObject* _gpuObject = NULL; mutable GPUObject* _gpuObject = NULL;

View file

@ -12,8 +12,7 @@
#include "GLBackendShared.h" #include "GLBackendShared.h"
GLBackend::GLFramebuffer::GLFramebuffer() GLBackend::GLFramebuffer::GLFramebuffer() {}
{}
GLBackend::GLFramebuffer::~GLFramebuffer() { GLBackend::GLFramebuffer::~GLFramebuffer() {
if (_fbo != 0) { if (_fbo != 0) {