opengl: extract sampler and texture lookup names
The type and function to use depends on the texture target.
Extract the mapping to a separate function to be able to reuse it.
Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
Loading
Please register or sign in to comment