summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-26 21:56:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-26 21:56:58 +0300
commit129b19f69fbbdcd896150aa8faa7f20254169c0c (patch)
treedd15d89fa3d6422139a0ba41a22f6f4db3f8b5ee /src/graphics.cpp
parent5f5ea46910feefc212a98ea715b0d4b0d9d4bc23 (diff)
downloadmv-129b19f69fbbdcd896150aa8faa7f20254169c0c.tar.gz
mv-129b19f69fbbdcd896150aa8faa7f20254169c0c.tar.bz2
mv-129b19f69fbbdcd896150aa8faa7f20254169c0c.tar.xz
mv-129b19f69fbbdcd896150aa8faa7f20254169c0c.zip
Add to log draw backend name.
Add ability to get free video memory (fast openg with NVIDIA). Add test with id 100 for long perfomance testing.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index 44ff11783..04754a975 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -70,6 +70,7 @@ Graphics::~Graphics()
bool Graphics::setVideoMode(int w, int h, int bpp, bool fs,
bool hwaccel, bool resize, bool noFrame)
{
+ logger->log1("graphics backend: software");
logger->log("Setting video mode %dx%d %s",
w, h, fs ? "fullscreen" : "windowed");