Port of OpenGL initialisation and texture loading

Versioni: 1.prealpha.01.04

Signed-off-by: GreatEmerald <pastas4@gmail.com>