removed test

This commit is contained in:
Bobby Lucero 2024-10-06 02:18:50 -04:00
parent 5f1ed533cf
commit 9f04ac67ba

View File

@ -242,8 +242,6 @@ void Graphics::Clear(int paletteIndex) {
void Graphics::Pixel(int x, int y, int paletteIndex) { void Graphics::Pixel(int x, int y, int paletteIndex) {
paletteIndex = Clamp(paletteIndex, 0, m_paletteByID.size() - 1); paletteIndex = Clamp(paletteIndex, 0, m_paletteByID.size() - 1);
x *= 2;
y *= 2;
if(x < 0 || y < 0 || x >= m_screenWidth || y >= m_screenHeight) return; if(x < 0 || y < 0 || x >= m_screenWidth || y >= m_screenHeight) return;
m_virtualScreenColorBuffer[y * m_screenWidth + x] = paletteIndex; m_virtualScreenColorBuffer[y * m_screenWidth + x] = paletteIndex;
} }