B_old
04-25-2003, 02:43 AM
Hi.
I want to use gluScaleImage() to make my textures smaller.
But how do I use it?
This is what I does:
gluScaleImage(GL_TEXTURE_2D, Image->Width, Image->Height,
ColorType, Image->Data, 64,
64, ColorType, Image->Data)
And it gives me an error.
Does the ratio matter?
I do this after loading my TGA and before loading the data up to OGL.
Thanks for any advice.
I want to use gluScaleImage() to make my textures smaller.
But how do I use it?
This is what I does:
gluScaleImage(GL_TEXTURE_2D, Image->Width, Image->Height,
ColorType, Image->Data, 64,
64, ColorType, Image->Data)
And it gives me an error.
Does the ratio matter?
I do this after loading my TGA and before loading the data up to OGL.
Thanks for any advice.