summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authoromegadox <omegadox@gmail.com>2009-03-07 09:44:19 +0000
committeromegadox <omegadox@gmail.com>2009-03-07 09:44:19 +0000
commitf4d0255751b23f5dc9b6cb6fd2da82e4098e1667 (patch)
tree6ef97a8ce2807d1aba896355c3c4fd7c998914af /Source
parent9e3db8d1b55100535de11f51e80c72bad92a2b5a (diff)
ops, forgot to change that back. It should be more stable now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2594 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp b/Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp
index 3a023e45ee..75a6982e1f 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp
+++ b/Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp
@@ -81,7 +81,7 @@ bool SaveTexture(const char* filename, u32 textarget, u32 tex, int width, int he
{
std::vector<u32> data(width * height);
glBindTexture(textarget, tex);
- glGetTexImage(textarget, 0, GL_BGRA, GL_UNSIGNED_INT, &data[0]);
+ glGetTexImage(textarget, 0, GL_BGRA, GL_UNSIGNED_BYTE, &data[0]);
GLenum err;
GL_REPORT_ERROR();
if (err != GL_NO_ERROR)