From f4d0255751b23f5dc9b6cb6fd2da82e4098e1667 Mon Sep 17 00:00:00 2001 From: omegadox Date: Sat, 7 Mar 2009 09:44:19 +0000 Subject: [PATCH] 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 --- Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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)