[GEM-dev] [ pd-gem-Bugs-3309231 ] RGB32 frambuffer can't be initialised with a loadbang

SourceForge.net noreply at sourceforge.net
Wed Jun 15 18:20:05 CEST 2011


Bugs item #3309231, was opened at 2011-05-30 09:07
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3309231&group_id=64325

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Cyrille Henry (nusmuk)
Assigned to: Nobody/Anonymous (nobody)
Summary: RGB32 frambuffer can't be initialised with a loadbang

Initial Comment:
When sending "format RGB32" to gemframebuffer, a valid context have to be present. Otherwise, default RGB format is used.

This was not the case prior to revision 3807.

here is the relevant part of the diff (gemframbuffer.cpp)

398c398,400
<     tmp_format =  GL_RGB_FLOAT32_ATI;
---
>     if(GLEW_ATI_texture_float) {
>       tmp_format =  GL_RGB_FLOAT32_ATI;
>     }


Since a loadbang is usually used to set the framebuffer format, this behaviors break all my patch that need 32bit framebuffer (including the GPGPU example)

test patch in attachment.

----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2011-06-15 16:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2011-06-01 16:06

Message:
thanks.

this should be fixed with rev.3957

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3309231&group_id=64325



More information about the GEM-dev mailing list