Ultimately all this needs is a small data table describing the geometric properties of each mode and a single Present function that calls the mode specific variants. Code size got reduced from 50kb to less than 20kb with proper separation of the generic parts from the OpenGL parts. |
||
|---|---|---|
| .. | ||
| data | ||
| dynlights | ||
| postprocessing | ||
| scene | ||
| textures | ||
| utility | ||