James C Georgas wrote:
> On Wed, 2006-20-12 at 23:28 -0500, James C Georgas wrote:
>> On Wed, 2006-20-12 at 23:25 -0500, James C Georgas wrote:
>>>> I'm pretty sure that when the target isn't GL_TEXTURE_RECTANGLE or
>>>> GL_ARB_texture_non_power_of_two isn't supported that Mesa already sets
>>>> this error code.
>>> Yeah, that's the theory, but it's not happening with today's git image.
>>>
>>> I'm attaching a test program that cheerfully accepts dimensions of 5x7
>>> and interprets the array data accordingly, at least with the software
>>> renderer. Am I using the right functions?
>> and here's the attachment :)
> 
> Oh, wait. I actually do have GL_ARB_texture_non_power_of_two.
> 
> Still, where in the code is the check performed?
This is in _mesa_test_proxy_teximage, which is called by
texture_error_check, which is called by _mesa_TexImage2D and friends.
All in teximage.c

Roland


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to