mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-30 23:28:06 +02:00
d3d1x: Fix broken build.
st/egl native.h changed its interface in
a22a332fc7.
This commit is contained in:
parent
d136d1d2e1
commit
326332a130
1 changed files with 6 additions and 1 deletions
|
|
@ -256,11 +256,16 @@ struct GalliumDXGIAdapter
|
|||
{
|
||||
this->parent = factory;
|
||||
|
||||
/* FIXME handler should be static */
|
||||
handler.invalid_surface = handle_invalid_surface;
|
||||
handler.new_drm_screen = dxgi_loader_create_drm_screen;
|
||||
handler.new_sw_screen = dxgi_loader_create_sw_screen;
|
||||
display = platform->create_display(dpy, &handler, this);
|
||||
platform->set_event_handler(&handler);
|
||||
|
||||
display = platform->create_display(dpy, FALSE, this);
|
||||
if(!display)
|
||||
display = platform->create_display(dpy, TRUE, this);
|
||||
if(!display)
|
||||
throw E_FAIL;
|
||||
memset(&desc, 0, sizeof(desc));
|
||||
std::string s = std::string("GalliumD3D on ") + display->screen->get_name(display->screen) + " by " + display->screen->get_vendor(display->screen);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue