Skip to content

drug007/gfm7

Repository files navigation

Testsuite

GFM7 is a fork of gfm v.7 to keep functionality that has been removed in gfm v.8

gfm7 v2.0.0 is a subset of gfm7 v1.0.0 - core, assimp and freeimage subpackages were deleted to reduce maintaining efforts. Another reason for this release was to update the dependency versions.

gfm7 v1.0.0 has breaking change - the only difference to original gfm is that OpenGL related classes ctors do not take OpenGL as its first parameters because it makes their using simpler. So instead of:

	auto program = new GLProgram(gl, shaderSources);

you can write:

	auto program = new GLProgram(shaderSources);

All error reporting is fully functionable, excluding some log messages (not errors). GLRenderBuffer, GLShader, GLUniform, GLAttribute, GLProgram have method logger(Logger l) that allows to set a logger to get functionality fully equal to original gfm v.7:

	auto program = new GLProgram(shaderSources);
	program.logger = yourLogger;

License

Public Domain (Unlicense).

About

dlang sdl2 opengl wrappers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages