Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
# limitations under the License.
# OpenGL ES1 general support (most of it)
-module opengles1
+module opengles1 is pkgconfig("glesv1_cm", "x11", "egl")
import mnit_display
# See the License for the specific language governing permissions and
# limitations under the License.
-module linux_opengles1 is
- pkgconfig("glesv1_cm", "x11", "egl")
- c_compiler_option(exec("sdl-config", "--cflags"))
- c_linker_option(exec("sdl-config", "--libs"), "-lSDL_image -lSDL_ttf")
-end
+module linux_opengles1
import mnit # for
# import opengles1
# SDL display support (used in Linux for windows and inputes only)
module sdl is
c_compiler_option(exec("sdl-config", "--cflags"))
- c_linker_option(exec("sdl-config", "--libs"), "-lSDL_ttf")
+ c_linker_option(exec("sdl-config", "--libs"), "-lSDL_image -lSDL_ttf")
end
import mnit_display