mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
Damien Lespiau
9d45e9641c
cogl: Fix checks of the number of available texture units
We were checking the number of texture units against the GL enum that is used in glGetInteger() to query that number. Let's abstract this in a little function. Took the opportunity to dig a bit on the usage of GL limits for the number of texture (image) units and document our use of them. We'll need something finer grained if we want to fully exploit texture image units with a programmable pipeline.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%