project-navigation
Personal tools

Author Topic: Error shader/slang/slang_codegen.c with Intel Card [fixed]  (Read 2346 times)

djtm

  • Guest
Error shader/slang/slang_codegen.c with Intel Card [fixed]
« on: December 21, 2008, 10:09:09 pm »
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
« Last Edit: December 21, 2008, 10:15:37 pm by djtm »