opengl - glCompressedTexImage2D for rectangular texture -


it seems glcompressedteximage2d not handle gl_texture_rectangle..

i trying load valve's vtf texture file, , of them seems rectangular dxt1 compression.

how work around this??

you obvious thing: stop using rectangle textures them. regular textures can rectangular.

the reason use rectangle textures because want sample them non-normalized texture coordinates.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -