Technical support > Linux

Error shader/slang/slang_codegen.c with Intel Card [fixed]

(1/1)

djtm:
Hi, if you get this error:
error: ufo: shader/slang/slang_codegen.c:661: new_var: Assertion `var->declared' failed
and you have an intel graphics card, the following will probably fix the issue for you:

start ufo like this:
ufo +set r_programs 0

if that doesn't work, save your savegames ("save") from settings directory in
~/.ufoai/2.3-dev/base/,
then start as shown above.

Now the game should be starting just fine. It worked for me in svn #21042

Navigation

[0] Message Index

Go to full version