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
This commit is contained in:
omegadox 2009-03-07 09:44:19 +00:00
parent 9e3db8d1b5
commit f4d0255751

View File

@ -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)