Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#ActualCornstalks

Posted 20 April 2013 - 01:57 PM

Assuming you're using the code from that website, you need to pass the contents of the file to CreateShader, not the file name (with or without extension).

 

Funny enough, someone else was following the exact same tutorial and made the exact same error (I suggest you read this thread and my answer).


#1Cornstalks

Posted 20 April 2013 - 01:54 PM

Assuming you're using the code from that website, you need to pass the contents of the file to CreateShader, not the file name (with or without extension).

 

Funny enough, someone else was following the exact same tutorial and made the exact same error.


PARTNERS