Sign in to follow this  
ProblemBaby

Drawing textures from different DCs

Recommended Posts

ProblemBaby    122
Hi Ive loaded a texture, when I loaded it I made one DC as current by using wglMakeCurrentDC. Now I want to draw this texture into another DC, when I call the glBindTexture function it doesnt work, Just the color Ive selected is shown (Ive enabled Textures). Ive also tried to make the DC where the texture was loaded in the first place current then call BindTexture then go back to the DC I want the texture to be drawn at. Like this: wglMakeCurrentDC(texDC, texRC) glBindTexture(... ...) wglMakeCurrentDC(anotherDC, anotherDCRC) it doesn't work either, is it possible to this? Help would then be great. thanks in advance

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this