TINYGL: Implemented tglPolygonOffset function

This commit is contained in:
Paweł Kołodziejski 2021-10-26 21:59:04 +02:00
parent 3f3b0e048e
commit eab1fe4097
No known key found for this signature in database
GPG key ID: 0BDADC9E74440FF7
7 changed files with 46 additions and 2 deletions

View file

@ -211,6 +211,8 @@ void glInit(void *zbuffer1, int textureSize) {
// opengl 1.1 polygon offset
c->offset_states = 0;
c->offset_factor = 0.0f;
c->offset_units = 0.0f;
// shadow mode
c->shadow_mode = 0;