UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Submit Patch #4648 Extra debug output for shader program parameters
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Submit Patch
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    1. Very low
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/patches/521 Item 521] imported from sourceforge.net tracker on 2013-01-28 20:43:43

I got tired of trying to figure out which instance of a R_ProgramParameter call was behaving badly, so I put in some extra stuff for debugging. There's a macro in r_program.h that switches the extra output on or off. If on, when it fails to find/set a parameter, it will output the file and line number of the call that attempted to set the bad parameter. I didn't want to just add it to the SVN without having someone else test it, though, since it involves a bunch of macros.
===== Comments Ported from Sourceforge =====

====== arisian (2010-04-22 00:28:45) ======

patch for r_program.c/h
====== tlh2000 (2010-04-22 06:08:15) ======

i'm fine with such a patch - we did that at other locations already, too - just the function prefix you used is different from what we used for the others (out of my mind i think we have written Debug, not just D, please change that to fit the existing style and commit it)
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif