Closed Bug 565372 Opened 10 years ago Closed 10 years ago

CairoImageOGL should initialize mTexture

Categories

(Core :: Graphics, defect, critical)

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)

531 bytes, patch
bas.schouten
: review+
Details | Diff | Splinter Review
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: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 565875
You need to log in before you can comment on or make changes to this bug.