Date: Sun, 04 Jan 2009 20:53:30 +0100
From: Couriersud Subject: SDL1.3 DirectFB patches The attached contains the following directfb changes: - Dynamic loading of libdirectfb.so. This may to turned off as well in configure - Use linux-input by default. May be switched off by environment variable. - Added some code which will use directfb's x11 backend when DISPLAY is set. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403460
This commit is contained in:
parent
ba8f64f259
commit
7c0f19e5aa
8 changed files with 98 additions and 26 deletions
|
@ -175,6 +175,10 @@ DirectFB_GL_CreateContext(_THIS, SDL_Window * window)
|
|||
|
||||
SDL_DFB_CHECKERR(windata->surface->
|
||||
GetGL(windata->surface, &context->context));
|
||||
|
||||
if (!context->context)
|
||||
return NULL;
|
||||
|
||||
SDL_DFB_CHECKERR(context->context->Unlock(context->context));
|
||||
|
||||
context->next = _this->gl_data->firstgl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue