Re: Using image to fill shape and Published parameters
Re: Using image to fill shape and Published parameters
- Subject: Re: Using image to fill shape and Published parameters
- From: Darrin Cardani <email@hidden>
- Date: Wed, 23 Oct 2013 13:42:15 -0700
Ardo,
To answer your first question - you should be able to just use the texture we give you after binding it. You shouldn't need to call glTexImage2D(). In fact, I'm not sure what calling it will do. It's possible that it could end up destroying the pixel data that we assigned to the image, though I don't know for sure.
To answer your second question, you need to look at which OpenGL calls are generating the errors and see what the OpenGL docs say about those errors for those calls.
Darrin On Oct 23, 2013, at 1:25 PM, Ardo Avancena < email@hidden> wrote: Darrin,
I changed the GL_TEXTURE_2D targets to [linkedTexture target] or [outTex target] or GL_TEXTURE_RECTANGLE_ARB i get errors saying invalid enum.
Then I also used [linkedTexture bind], then verified if it is binded on the current target, but the int value didnt change.
Is there something incorrectly set up on the textures?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden