I use Direct3D9 debug runtime and this two lines contain memory leak, which detected by D3D9 debuger.hybrid wrote:ITexture->lock() is pure virtual, moreover the code seems to be ok. Could you explain a little more?
Search found 19 matches
- Wed Jul 25, 2007 4:45 am
- Forum: Bug reports
- Topic: [fixed]Mem Leak: ITexture->lock()
- Replies: 11
- Views: 1989
- Mon Jul 23, 2007 10:13 am
- Forum: Bug reports
- Topic: [fixed]Mem Leak: ITexture->lock()
- Replies: 11
- Views: 1989
[fixed]Mem Leak: ITexture->lock()
Memory leak inside:
void *pTexData = pTexture->lock();
pTexture->unlock();
void *pTexData = pTexture->lock();
pTexture->unlock();
- Wed Jul 11, 2007 9:02 pm
- Forum: Bug reports
- Topic: Increase max count of material texture
- Replies: 7
- Views: 824
- Wed Jul 11, 2007 7:03 pm
- Forum: Bug reports
- Topic: Increase max count of material texture
- Replies: 7
- Views: 824
- Wed Jul 11, 2007 8:50 am
- Forum: Beginners Help
- Topic: Cubemaps
- Replies: 11
- Views: 1337
- Wed Jul 11, 2007 8:48 am
- Forum: Bug reports
- Topic: Increase max count of material texture
- Replies: 7
- Views: 824
- Wed Jul 11, 2007 7:14 am
- Forum: Bug reports
- Topic: Increase max count of material texture
- Replies: 7
- Views: 824
Increase max count of material texture
How to increase max count of material texture? I tried to change: //! Maximum number of texture an SMaterial can have. const u32 MATERIAL_MAX_TEXTURES = 4; When I had changed value and recompiled engine, engine crashed. When I call any function from recompiled engine, I have random probability to ca...
- Wed Jul 11, 2007 5:38 am
- Forum: Beginners Help
- Topic: Cubemaps
- Replies: 11
- Views: 1337
Cubemaps
Does irrlicht support cubemaps? How to work with it?
- Wed Jul 11, 2007 5:34 am
- Forum: Beginners Help
- Topic: ITexture: how to get access to pixels?
- Replies: 4
- Views: 473
- Tue Jul 10, 2007 9:40 am
- Forum: Beginners Help
- Topic: ITexture: how to get access to pixels?
- Replies: 4
- Views: 473
Re: ITexture: how to get access to pixels?
I found solution:EViruS wrote:How to change some pixels on ITexture?
void *p = ->lock()
getColorFormat
...
But how to save my modified texture to file?
- Tue Jul 10, 2007 9:08 am
- Forum: Beginners Help
- Topic: ITexture: how to get access to pixels?
- Replies: 4
- Views: 473
ITexture: how to get access to pixels?
How to change some pixels on ITexture?
- Mon Jul 09, 2007 7:18 pm
- Forum: Beginners Help
- Topic: Trouble in shader
- Replies: 5
- Views: 675
- Mon Jul 09, 2007 5:16 pm
- Forum: Beginners Help
- Topic: Trouble in shader
- Replies: 5
- Views: 675
- Mon Jul 09, 2007 5:05 pm
- Forum: Beginners Help
- Topic: Trouble in shader
- Replies: 5
- Views: 675
- Mon Jul 09, 2007 11:36 am
- Forum: Beginners Help
- Topic: Intersection between lines
- Replies: 2
- Views: 256