Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tuupola/hagl_sdl2

SDL2 abstraction layer for the HAGL graphics library
https://github.com/tuupola/hagl_sdl2

hagl

Last synced: about 2 months ago
JSON representation

SDL2 abstraction layer for the HAGL graphics library

Awesome Lists containing this project

README

        

# SDL2 Abstraction Layer for HAGL

This is an [SDL2](https://www.libsdl.org/) abstraction layer for the [Hardware Agnostic Graphics Library (HAGL)](https://github.com/tuupola/hagl
). This repository serves as an example on how to create a simple HAL.

[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)

# Demo

Simple demonstration displaying different graphics primitives.

```
$ git clone https://github.com/tuupola/hagl.git
$ git clone https://github.com/tuupola/hagl_sdl2.git
$ cd hagl_sdl2
$ make clean && make && ./demo
```

Slightly more interesting demo displaying old school [demo effects](https://github.com/tuupola/sdl2_effects).

```
$ git clone --recursive https://github.com/tuupola/sdl2_effects.git
$ cd sdl2_effects
$ make clean && make && ./demo
```

## License

The MIT License (MIT). Please see [License File](LICENSE) for more information.