Skip to content

Improve texture units usage

Loïc Molinari requested to merge molinari/weston:fixed_tex_units into main

Improve texture units usage in the GL renderer by:

  • providing a fixed allocation to each texture unit in order to prevent conflicts. This for instance fixes a conflict between colour transforms and the wireframe debug mode.
  • reverting the active unit to its default value right after use so that other functions can assume the default state.

Merge request reports