Search found 7 matches

by loverlinfish
Mon May 06, 2013 3:53 am
Forum: Bug reports
Topic: COpenGLShaderMaterialRenderer bug
Replies: 1
Views: 541

COpenGLShaderMaterialRenderer bug

void COpenGLShaderMaterialRenderer::OnSetMaterial(const SMaterial& material, const SMaterial& lastMaterial,             bool resetAllRenderstates, IMaterialRendererServices* services)         {             if (material.MaterialType != lastMaterial.MaterialType || resetAllRenderstates)      ...
by loverlinfish
Mon Feb 20, 2012 4:06 am
Forum: Bug reports
Topic: [fixed]Direct3D9 Memory leak
Replies: 1
Views: 539

[fixed]Direct3D9 Memory leak

CD3D9Device.cpp line 593 ==> call hr = pID3DDevice->GetSwapChain(0, &swChain); but no call swChain->Release(); when create new device, old data not release. CreateDeviceEx ....(see windows task manager - thread 1) device->beginScene device->endScene . . . device->closeDevice device->drop =======...
by loverlinfish
Fri Feb 11, 2011 3:42 pm
Forum: Bug reports
Topic: dds loader bug
Replies: 3
Views: 2996

dds loader bug

the loader create a ARGB8888's image.
so
struct ddsColor
{
u8 r, g, b, a; <== is ABGR
} PACK_STRUCT;

maybe is error.

I change to
struct ddsColor
{
u8 b, g, r, a;
} PACK_STRUCT;

the color is ok.
by loverlinfish
Mon Aug 17, 2009 12:49 am
Forum: Bug reports
Topic: [fixed]CFileSystem FILE_SYSTEM_MAX_PATH
Replies: 1
Views: 531

[fixed]CFileSystem FILE_SYSTEM_MAX_PATH

line 348
_wgetcwd(tmp, FILE_SYSTEM_MAX_PATH); ==> _wgetcwd(tmp, _MAX_PATH);

because no define FILE_SYSTEM_MAX_PATH
by loverlinfish
Sun Aug 16, 2009 7:23 am
Forum: Bug reports
Topic: [fixed]Linux OpenGL/Segmentation fault
Replies: 1
Views: 608

[fixed]Linux OpenGL/Segmentation fault

linux debain kernel 2.6.26-2-686 mesa 7.0.3-7 COpenGLDriver.cpp #if defined(GL_ARB_provoking_vertex) || defined(GL_EXT_provoking_vertex) extGlProvokingVertex(GL_FIRST_VERTEX_CONVENTION_EXT); #endif system printf : Segmentation fault I change to #if defined(GL_FIRST_VERTEX_CONVENTION_EXT) glEnable(GL...
by loverlinfish
Thu Aug 13, 2009 4:08 am
Forum: Bug reports
Topic: [fixed]smoothTerrain
Replies: 1
Views: 435

[fixed]smoothTerrain

void CTerrainSceneNode::smoothTerrain(CDynamicMeshBuffer* mb, s32 smoothFactor) mb->getVertexBuffer()[x + yd].Pos.Y = (mb->getVertexBuffer()[x-1 + yd].Pos.Y +// ==> left mb->getVertexBuffer()[x+1 + yd].Pos.Y +// ==> right mb->getVertexBuffer()[x + yd - TerrainData.Size].Pos.Y +// ==> top mb->getVert...
by loverlinfish
Thu Aug 06, 2009 8:40 am
Forum: Bug reports
Topic: [fixed]Bug for irrlicht
Replies: 1
Views: 483

[fixed]Bug for irrlicht

source/Irrlicht/CattributeImpl.h line 1241 sprintf(tmp, "%02x%02x%02x%02x", c.getAlpha(), c.getRed(), c.getBlue(), c.getGreen()); ===> sprintf(tmp, "%02x%02x%02x%02x", c.getAlpha(), c.getRed(), c.getGreen(), c.getBlue()); include/EGUIElementType.h line 124 add "treeview",