TINYGL: Added fog support.

This commit is contained in:
Paweł Kołodziejski 2022-06-05 20:59:38 +02:00
parent 93e5e9a4da
commit cdaec9de8d
No known key found for this signature in database
GPG key ID: 0BDADC9E74440FF7
14 changed files with 396 additions and 70 deletions

View file

@ -78,6 +78,9 @@ void GLContext::glopEnableDisable(GLParam *p) {
case TGL_COLOR_MATERIAL:
color_material_enabled = v;
break;
case TGL_FOG:
fog_enabled = v;
break;
case TGL_TEXTURE_2D:
texture_2d_enabled = v;
break;