Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-03-28 09:03:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-28 09:03:24 +0400
commit07065b27b8b37316004f40896f436d26e066f25f (patch)
tree19713fa864612e094f21a881e9816a8e1bf42b7b /source/gameengine/GamePlayer/common
parentc9f677d24d9600d9ba07f1b258c49455bc348554 (diff)
style cleanup
Diffstat (limited to 'source/gameengine/GamePlayer/common')
-rw-r--r--source/gameengine/GamePlayer/common/GPC_Canvas.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_Canvas.cpp b/source/gameengine/GamePlayer/common/GPC_Canvas.cpp
index db40f35f888..eccfefedd4d 100644
--- a/source/gameengine/GamePlayer/common/GPC_Canvas.cpp
+++ b/source/gameengine/GamePlayer/common/GPC_Canvas.cpp
@@ -123,7 +123,7 @@ void GPC_Canvas::SetViewPort(int x1, int y1, int x2, int y2)
void GPC_Canvas::ClearBuffer(
int type
-){
+) {
int ogltype = 0;
if (type & RAS_ICanvas::COLOR_BUFFER )
@@ -312,7 +312,7 @@ void GPC_Canvas::DrawBanner(TBannerData& banner)
GPC_Canvas::
PushRenderState(
CanvasRenderState & render_state
-){
+) {
#if 0
::glMatrixMode(GL_PROJECTION);
@@ -342,7 +342,7 @@ PushRenderState(
GPC_Canvas::
PopRenderState(
const CanvasRenderState & render_state
-){
+) {
#if 0
// Restore OpenGL settings
render_state.oldLighting ? ::glEnable(GL_LIGHTING) : glDisable(GL_LIGHTING);
@@ -371,7 +371,7 @@ PopRenderState(
void
GPC_Canvas::
SetOrthoProjection(
-){
+) {
// Set up OpenGL matrices
::glViewport(0, 0, m_width, m_height);
::glScissor(0, 0, m_width, m_height);
@@ -388,7 +388,7 @@ SetOrthoProjection(
GPC_Canvas::
MakeScreenShot(
const char* filename
-){
+) {
png_structp png_ptr;
png_infop info_ptr;
unsigned char *pixels = 0;