aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/bada/graphics.cpp
diff options
context:
space:
mode:
authorSven Hesse2011-08-22 09:46:30 +0200
committerSven Hesse2011-08-22 09:46:30 +0200
commit58ab4cdab79c2f55a96f373f948d47fabded68b4 (patch)
tree407b2b6b765b6fd3cc0d75989b367387a742de8d /backends/platform/bada/graphics.cpp
parentb406ba58847780d346093d881eb544a3c7b81506 (diff)
downloadscummvm-rg350-58ab4cdab79c2f55a96f373f948d47fabded68b4.tar.gz
scummvm-rg350-58ab4cdab79c2f55a96f373f948d47fabded68b4.tar.bz2
scummvm-rg350-58ab4cdab79c2f55a96f373f948d47fabded68b4.zip
BADA: Strip trailing whitespace
Diffstat (limited to 'backends/platform/bada/graphics.cpp')
-rw-r--r--backends/platform/bada/graphics.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/backends/platform/bada/graphics.cpp b/backends/platform/bada/graphics.cpp
index 7c4fc03ac1..4ab90a633f 100644
--- a/backends/platform/bada/graphics.cpp
+++ b/backends/platform/bada/graphics.cpp
@@ -75,7 +75,7 @@ Common::List<Graphics::PixelFormat> BadaGraphicsManager::getSupportedFormats() c
}
bool BadaGraphicsManager::hasFeature(OSystem::Feature f) {
- bool result = (f == OSystem::kFeatureFullscreenMode ||
+ bool result = (f == OSystem::kFeatureFullscreenMode ||
f == OSystem::kFeatureVirtualKeyboard ||
OpenGLGraphicsManager::hasFeature(f));
return result;
@@ -111,7 +111,7 @@ bool BadaGraphicsManager::loadEgl() {
};
EGLint eglContextList[] = {
- EGL_CONTEXT_CLIENT_VERSION, 1,
+ EGL_CONTEXT_CLIENT_VERSION, 1,
EGL_NONE
};
@@ -126,14 +126,14 @@ bool BadaGraphicsManager::loadEgl() {
systemError("eglGetDisplay() failed");
return false;
}
-
- if (EGL_FALSE == eglInitialize(_eglDisplay, NULL, NULL) ||
+
+ if (EGL_FALSE == eglInitialize(_eglDisplay, NULL, NULL) ||
EGL_SUCCESS != eglGetError()) {
systemError("eglInitialize() failed");
return false;
}
- if (EGL_FALSE == eglChooseConfig(_eglDisplay, eglConfigList,
+ if (EGL_FALSE == eglChooseConfig(_eglDisplay, eglConfigList,
&_eglConfig, 1, &numConfigs) ||
EGL_SUCCESS != eglGetError()) {
systemError("eglChooseConfig() failed");
@@ -145,14 +145,14 @@ bool BadaGraphicsManager::loadEgl() {
return false;
}
- _eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig,
+ _eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig,
(EGLNativeWindowType)_appForm, NULL);
if (EGL_NO_SURFACE == _eglSurface || EGL_SUCCESS != eglGetError()) {
systemError("eglCreateWindowSurface() failed. EGL_NO_SURFACE");
return false;
}
-
- _eglContext = eglCreateContext(_eglDisplay, _eglConfig,
+
+ _eglContext = eglCreateContext(_eglDisplay, _eglConfig,
EGL_NO_CONTEXT, eglContextList);
if (EGL_NO_CONTEXT == _eglContext ||
EGL_SUCCESS != eglGetError()) {
@@ -227,7 +227,7 @@ void BadaGraphicsManager::unloadGFXMode() {
eglTerminate(_eglDisplay);
_eglDisplay = EGL_NO_DISPLAY;
}
-
+
_eglConfig = NULL;
OpenGLGraphicsManager::unloadGFXMode();
@@ -292,7 +292,7 @@ void BadaGraphicsManager::showSplash() {
canvas.Construct();
canvas.SetBackgroundColor(Color::COLOR_BLACK);
canvas.Clear();
-
+
int x = _videoMode.hardwareWidth / 3;
int y = _videoMode.hardwareHeight / 3;
@@ -309,7 +309,7 @@ void BadaGraphicsManager::showSplash() {
canvas.SetForegroundColor(Color::COLOR_WHITE);
canvas.DrawText(Point(x + 70, y + 50), L"Loading ...");
delete pFont;
-
+
canvas.Show();
}