disable the pointer size assertions (bug 4021)

This commit is contained in:
Brian Paul 2005-08-10 14:40:05 +00:00
parent 5d40169436
commit 6b563bda43

View file

@ -192,10 +192,13 @@ int _slang_execute (const slang_assembly_file *file)
mach.exit = 0;
/* assume 32-bit machine */
/* XXX why???, disabling the pointer size assertions here.
* See bug 4021.
*/
static_assert(sizeof (GLfloat) == 4);
static_assert(sizeof (GLfloat *) == 4);
/*static_assert(sizeof (GLfloat *) == 4);*/
static_assert(sizeof (GLuint) == 4);
static_assert(sizeof (GLuint *) == 4);
/*static_assert(sizeof (GLuint *) == 4);*/
dump (file);