Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 336 vs 337 for /trunk/Source Code/Platform/Video/OpenGL/Buffers/PixelBuffer/Headers/glPixelBuffer.h

Diff revisions: vs.
  @@ -30,30 +30,30 @@
30 30 class glPixelBuffer : public PixelBuffer {
31 31 public:
32 32
33 - glPixelBuffer(PBType type);
34 - ~glPixelBuffer() {Destroy();}
33 + glPixelBuffer(PBType type);
34 + ~glPixelBuffer() {Destroy();}
35 35
36 - bool Create(GLushort width, GLushort height,GLushort depth = 0,
37 - GFXImageFormat internalFormatEnum = RGBA8,
38 - GFXImageFormat formatEnum = RGBA,
39 - GFXDataFormat dataTypeEnum = FLOAT_32);
36 + bool Create(GLushort width, GLushort height,GLushort depth = 0,
37 + GFXImageFormat internalFormatEnum = RGBA8,
38 + GFXImageFormat formatEnum = RGBA,
39 + GFXDataFormat dataTypeEnum = FLOAT_32);
40 40
41 - void Destroy();
41 + void Destroy();
42 42
43 - void* Begin(GLubyte nFace=0) const;
44 - void End() const;
43 + void* Begin(GLubyte nFace=0) const;
44 + void End() const;
45 45
46 - void Bind(GLubyte unit=0) const;
46 + void Bind(GLubyte unit=0) const;
47 47
48 - void updatePixels(const GLfloat * const pixels);
48 + void updatePixels(const GLfloat * const pixels);
49 49
50 50 private:
51 - bool checkStatus();
52 - size_t sizeOf(GLenum dataType) const;
51 + bool checkStatus();
52 + size_t sizeOf(GLenum dataType) const;
53 53 private:
54 - GLenum _dataType;
55 - GLenum _format;
56 - GLenum _internalFormat;
54 + GLenum _dataType;
55 + GLenum _format;
56 + GLenum _internalFormat;
57 57 };
58 58
59 59 }; //namespace Divide