- fixed: Screen size update coordinates were copied into the wrong buffer location.

This commit is contained in:
Christoph Oelckers 2016-09-28 09:25:48 +02:00
commit b75395aa74
2 changed files with 4 additions and 2 deletions

View file

@ -221,7 +221,7 @@ void FFlatVertexBuffer::OutputResized(int width, int height)
vbo_shadowdata[7].Set((float)width, (float)height, 0, 0, 0);
Map();
memcpy(map, &vbo_shadowdata[4], 4 * sizeof(FFlatVertex));
memcpy(&map[4], &vbo_shadowdata[4], 4 * sizeof(FFlatVertex));
Unmap();
}