GLdispatch: Use all 4096 dynamic dispatch stubs.
In stub_add_dynamic, use all 4096 dynamic dispatch stubs. There's no longer any need to leave the last one empty.
This commit is contained in:
parent
13df532963
commit
0c08a09276
|
@ -110,8 +110,7 @@ stub_add_dynamic(const char *name)
|
|||
int idx;
|
||||
|
||||
idx = num_dynamic_stubs;
|
||||
/* minus 1 to make sure we can never reach the last slot */
|
||||
if (idx >= MAPI_TABLE_NUM_DYNAMIC - 1)
|
||||
if (idx >= MAPI_TABLE_NUM_DYNAMIC)
|
||||
return -1;
|
||||
|
||||
// Make sure that we have a dispatch stub for this index. If the stubs are
|
||||
|
|
Loading…
Reference in a new issue