Format nitpick in object.c

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Remove SAMP1D uniform type

It was never implemented anyway, and I'd rather infer type from texmap_t
objects anyway.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Rename SAMP2D uniform type to TEXMAP

We can infer the type from the object itself.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Fix compiler warning

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Dupe values passed to uniform_create

This makes the API a lot cleaner; we no longer have to gift it memory segments.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>