mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
glapi: Fix loading of old DRI drivers.
The removal of _glapi_noop_enable_warnings and _glapi_set_warning_func
in e4f168a6f4 prevents DRI drivers built
before the commit from loading. Add stub versions of the functions to
make them load again.
This commit is contained in:
parent
ea373df069
commit
f1381880a8
1 changed files with 20 additions and 0 deletions
|
|
@ -48,6 +48,26 @@
|
|||
|
||||
#include "glapi/glapi.h"
|
||||
|
||||
|
||||
/*
|
||||
* These stubs are kept so that the old DRI drivers still load.
|
||||
*/
|
||||
PUBLIC void
|
||||
_glapi_noop_enable_warnings(GLboolean enable);
|
||||
|
||||
PUBLIC void
|
||||
_glapi_set_warning_func(_glapi_proc func);
|
||||
|
||||
void
|
||||
_glapi_noop_enable_warnings(GLboolean enable)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
_glapi_set_warning_func(_glapi_proc func)
|
||||
{
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue