im now linking to GLew and have included glew.h
except this the new code for loading the shaders is now looking like that:
int installShaders(const GLcharARB *Vertex,
...
Type: Posts; User: McRip
im now linking to GLew and have included glew.h
except this the new code for loading the shaders is now looking like that:
int installShaders(const GLcharARB *Vertex,
...
okay I got it running now. I think the main reason for the crashing was that I was using GLee to load my extensions. Now the job is done by Glew. Except this I tweaked the code a bit around here and...
hello,
Yes I've built the kernel myself. Rivafb is not compiled into the kernel. And I've reinstalled the nvidia-drivers(newest version) after installing the new kernel.
I cant check what has...
if(!vertCompiled OR !fragCompiled)
{
cout <<"nix compilieren gehen!";
return 0;
}
Prog=glCreateProgramObjectARB();
glAttachObjectARB(Prog,VS);
glAttachObjectARB(Prog,FS);
wtf?
</font><blockquote><font size="1" face="Verdana, Arial">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">
if(!vertCompiled
right now it attracted my attention, that some of the code was snapped off, too.
here is the missing code:
</font><blockquote><font size="1" face="Verdana, Arial">code:</font><hr /><pre...
uuh it's too late here in Germany ;)
I've forgotten to post these things(misteriously they became snapped away as I posted :confused: ...) so here they are :
I don't really get why the prog...
Hello,
today I've updated my linux-kernel to version 2.6.10. Everything ran okay, but as I tried to compile and run my program (which is using shaders) I became a Segmentation Fault. I've debugged...
thank you
it's compiling now :D
Hello,
first of all, sorry for my bad english :)
At the moment I'm trying to learn something about GLslang and I'm stuck at the first code example of the Orange-Book("OpenGL Shading Language"...