Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51771 - ILUT OpenGL textures upside-down in devil-1.6.6
Summary: ILUT OpenGL textures upside-down in devil-1.6.6
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-22 17:07 UTC by Dirk Gerrits
Modified: 2005-04-01 15:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Gerrits 2004-05-22 17:07:58 UTC
When using ilutGLBindTexImage or ilutGLLoadImage, devil-1.6.6-r1 loads the textures into OpenGL upside down. This does not occur with 1.6.1. Note that it is the ILUT transfer to OpenGL that goes wrong, loading the file with ilLoadImage produces the right result with both versions.

Reproducible: Always
Steps to Reproduce:
1. Make sure you have devil-1.6.6-r1.
2. Make a program that uses ilutGLLoadImage and draws a textured quad.
3. Compile the program and run it.
Actual Results:  
The texture was upside down with devil-1.6.6-r1, even though the texture and
vertex coordinates were correct. (OpenGL has a right-handed coordinate system
and texture coordinates run from lower left to upper right.)

Expected Results:  
The texture should be oriented correctly, as with devil-1.6.1.

The correct behaviour that I get with devil-1.6.1 under Gentoo I also get with
devil-1.6.5 under Debian and Windows.
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2004-10-05 07:02:31 UTC
Not my area.
Comment 2 SpanKY gentoo-dev 2004-10-10 21:46:48 UTC
i just added devil-1.6.7 to portage, try that out please :)

btw, there is no 1.6.6-r1 ... i assume you mean 1.6.6-r2 ...
Comment 3 SpanKY gentoo-dev 2005-04-01 15:20:29 UTC
assuming 1.6.7 works since user never got back to us