mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-06 16:30:42 +01:00
disable the pointer size assertions (bug 4021)
This commit is contained in:
parent
5d40169436
commit
6b563bda43
1 changed files with 5 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue