Closed djyt closed 3 years ago
There seems to be some issue with scanlines on Ubuntu 13.10 as well. In window mode there is no change to the output, whilst when in full-screen mode the display is destroyed and just a bunch of random lines at the top appear. That aside it's fast and stable :)
Interesting. Are you using OpenGL or the software renderer?
Thanks - solved by moving to OpenGL. My Ubuntu cmake file now looks like this:
set(lib_base /usr/include)
set(sdl_root ${lib_base}/SDL)
include_directories("${sdl_root}")
link_libraries(cannonball
SDL
SDLmain
GL
)
# Linking
link_directories(
"${sdl_root}/lib"
)
# Location for Cannonball to create save files
# Used to auto-generate setup.hpp with various file paths
set(xml_directory ./)
set(sdl_flags "SDL_DOUBLEBUF | SDL_SWSURFACE")
# Use OpenGL for rendering.
set(OPENGL 1)
I'm going to close this as we've moved to SDL 2 now, and by default any modern machine is going to be using OpenGL 2, especially from the next release.
Most likely an Endian problem.