summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2013-02-28 02:39:06 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2013-02-28 02:40:03 -0600
commit03ec9a2e088b0818bf02a5bc2ffda4a512cba2b7 (patch)
treecdc77e0e83145ee925baf0c8f404bdf894052c50 /Source/Plugins/Plugin_VideoOGL
parent56f09d3b91479deb0f3ae3c7ce623c7a4724e087 (diff)
Kill some unnecessary c_str and use StrToWxStr in a few places that I missed.
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/Render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
index d0bb94a39a..f0213578c5 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
+++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
@@ -1539,7 +1539,7 @@ void TakeScreenshot(ScrStrct* threadStruct)
// Save the screenshot and finally kill the wxImage object
// This is really expensive when saving to PNG, but not at all when using BMP
- threadStruct->img->SaveFile(StrToWxStr(threadStruct->filename.c_str()),
+ threadStruct->img->SaveFile(StrToWxStr(threadStruct->filename),
wxBITMAP_TYPE_PNG);
threadStruct->img->Destroy();