mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
trying to fix q2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3986 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
3c4100a2a9
commit
9acd5a61a6
2 changed files with 4 additions and 1 deletions
|
@ -1921,6 +1921,9 @@ qboolean Media_PlayFilm(char *name)
|
||||||
cin_t *cin;
|
cin_t *cin;
|
||||||
static char sname[MAX_QPATH];
|
static char sname[MAX_QPATH];
|
||||||
|
|
||||||
|
if (!qrenderer)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (videoshader)
|
if (videoshader)
|
||||||
{
|
{
|
||||||
R_UnloadShader(videoshader);
|
R_UnloadShader(videoshader);
|
||||||
|
|
|
@ -264,7 +264,7 @@ qboolean GLInitialise (char *renderer)
|
||||||
Q_strncpyz(reqminidriver, renderer, sizeof(reqminidriver));
|
Q_strncpyz(reqminidriver, renderer, sizeof(reqminidriver));
|
||||||
Q_strncpyz(opengldllname, renderer, sizeof(opengldllname));
|
Q_strncpyz(opengldllname, renderer, sizeof(opengldllname));
|
||||||
|
|
||||||
if (*renderer)
|
if (*renderer && stricmp(renderer, "opengl32.dll") && stricmp(renderer, "opengl32"))
|
||||||
{
|
{
|
||||||
Con_DPrintf ("Loading renderer dll \"%s\"", renderer);
|
Con_DPrintf ("Loading renderer dll \"%s\"", renderer);
|
||||||
hInstGL = LoadLibrary(opengldllname);
|
hInstGL = LoadLibrary(opengldllname);
|
||||||
|
|
Loading…
Reference in a new issue