Closed Bug 703491 Opened 14 years ago Closed 14 years ago

Silence Nv3DVStream assertion

Categories

(Core :: Graphics, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla11

People

(Reporter: roc, Assigned: roc)

Details

(Whiteboard: [inbound])

Attachments

(2 files, 1 obsolete file)

NS_ASSERTION(rv, "Nv3DVStreaming Nv3DVControl failed!"); fails all the time for me. I don't have the 3D hardware of course. Let's turn it into a warning at best.
Attached patch fixSplinter Review
Assignee: nobody → roc
Attachment #575369 - Flags: review?(bas.schouten)
Attachment #575369 - Flags: review?(bas.schouten) → review+
So why did this bool suddenly turn into an nsresult?
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla11
(In reply to Ms2ger from comment #3) > So why did this bool suddenly turn into an nsresult? Yes, that was a mistake. I have a new patch.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
These are bools not nsresults. Also some of the other assertions are still firing. Silence them.
Attachment #575963 - Flags: review?(bas.schouten)
Attached patch part 2 v2Splinter Review
Fix checks, use NS_WARN_IF_FALSE, use DebugOnly.
Attachment #575963 - Attachment is obsolete: true
Attachment #575963 - Flags: review?(bas.schouten)
Attachment #575966 - Flags: review?(bas.schouten)
Attachment #575966 - Flags: review?(bas.schouten) → review+
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
I guess nobody noticed that the logic for when to warn was inverted by this change.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: