Skip to content

Commit

Permalink
N64: Do not access Surface::pixels anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Schickel committed Aug 6, 2013
1 parent 30d2eb7 commit c28f3ba
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions backends/platform/n64/osys_n64_base.cpp
Expand Up @@ -605,11 +605,7 @@ void OSystem_N64::updateScreen() {
}

Graphics::Surface *OSystem_N64::lockScreen() {
_framebuffer.pixels = _offscreen_pal;
_framebuffer.w = _gameWidth;
_framebuffer.h = _gameHeight;
_framebuffer.pitch = _screenWidth;
_framebuffer.format = Graphics::PixelFormat::createFormatCLUT8();
_framebuffer.init(_gameWidth, _gameHeight, _screenWidth, _offscreen_pal, Graphics::PixelFormat::createFormatCLUT8());

return &_framebuffer;
}
Expand Down

0 comments on commit c28f3ba

Please sign in to comment.