|
-
October 8th, 2009, 11:41 AM
#3
Re: non-static member of outer type
Well, you have omitted the code which is actually causing the error, but your struct will not be able to access non-static data defined in your Shader class. This would be true for any class or struct, regardless of where/how it was defined. You are probably trying to access instance variables with no instance of "Shader" to refer to.
Last edited by BigEd781; October 9th, 2009 at 01:16 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|