Closed Bug 565372 Opened 14 years ago Closed 14 years ago

CairoImageOGL should initialize mTexture

Categories

(Core :: Graphics, defect)

defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 565875

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug)

Details

(Keywords: coverity)

Attachments

(1 file)

124 class THEBES_API CairoImageOGL : public CairoImage
125 {
126 public:
127   CairoImageOGL(LayerManagerOGL *aManager)
128     : CairoImage(NULL)
129     , mManager(aManager)
130   { }
131   ~CairoImageOGL();
132 
133   virtual void SetData(const Data &aData);
134 
135   GLuint mTexture;


382 CairoImageOGL::~CairoImageOGL()
383 {
384   static_cast<LayerManagerOGL*>(mManager)->MakeCurrent();
385   if (mTexture) {
386     mManager->gl()->fDeleteTextures(1, &mTexture);
Attached patch patchSplinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #444916 - Flags: review?(bas.schouten)
Attachment #444916 - Flags: review?(bas.schouten) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: