These changes consolidate duplicated uniform upload code to make the OpenGL code more readable, reduce the likelihood of introduce hard-to-debug errors (like forgetting C-string terminator '\x00' at the end of variable name), and add improved error detection.
These changes consolidate duplicated uniform upload code to make the OpenGL code more readable, reduce the likelihood of introduce hard-to-debug errors (like forgetting C-string terminator '\x00' at the end of variable name), and add improved error detection.