fix deprecated texture loading function name in glsl
This commit is contained in:
parent
9def9b04c9
commit
57adf66c58
2 changed files with 5 additions and 3 deletions
|
@ -31,6 +31,9 @@ func main() {
|
|||
// Get variable (uniform) location on the shader to connect with the program
|
||||
// NOTE: If uniform variable could not be found in the shader, function returns -1
|
||||
swirlCenterLoc := rl.GetShaderLocation(shader, "center")
|
||||
if swirlCenterLoc == -1 {
|
||||
println("Warning: [SHDR] Swirl Center uniform not found on shader")
|
||||
}
|
||||
|
||||
swirlCenter := make([]float32, 2)
|
||||
swirlCenter[0] = float32(screenWidth) / 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue