removed test
This commit is contained in:
parent
5f1ed533cf
commit
9f04ac67ba
@ -242,8 +242,6 @@ void Graphics::Clear(int paletteIndex) {
|
||||
|
||||
void Graphics::Pixel(int x, int y, int paletteIndex) {
|
||||
paletteIndex = Clamp(paletteIndex, 0, m_paletteByID.size() - 1);
|
||||
x *= 2;
|
||||
y *= 2;
|
||||
if(x < 0 || y < 0 || x >= m_screenWidth || y >= m_screenHeight) return;
|
||||
m_virtualScreenColorBuffer[y * m_screenWidth + x] = paletteIndex;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user