Fix for shader function pointers.
Got first basic shader working.