Re: [hatari-devel] ST/STE High Resolution Scaling

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 19/09/2013 05:47, Randy Hunsaker a écrit :
Hi,

I think I have a model for scaling that will work.  It involves using SDLs
OpenGL support, and converting the main SDL surface to a texture and
stretching it over a rectangle that represents the ST/STE screen.  I've made
some preliminary code changes, and I need to link Hatari with the OpenGL
library to test them.  I'm not very familiar with CMake, so I'm not sure how
to modify the CMake files to enabling linking with the library.  Can you
suggest how to do this?

Thanks,
Randy

Hello

regarding opengl, I'm not sure all platforms where Hatari can currently build have opengl available ; at least, I think it should not be mandatory to have opengl to build Hatari, so that Hatari can still build on opengl-less platform.

As for adding some flags to cmake, you can try to duplicate the target-link_libraries used for portaudio for example in src/CMakeLists.txt and adapt it to opengl.

Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/