our scratch mem must match correct max texture size

This commit is contained in:
Ian Curtis 2016-10-08 11:59:25 +00:00
parent c472d90fb9
commit 33cf6c89d1

View file

@ -4,7 +4,7 @@ namespace New3D {
TextureSheet::TextureSheet()
{
m_temp.resize(512 * 512 * 4); // temporay buffer for textures
m_temp.resize(1024 * 1024 * 4); // temporay buffer for textures
}
int TextureSheet::ToIndex(int x, int y)