Skip to content

occRasterizer::clear access violation #111

@fedan

Description

@fedan

occRasterizer.cpp:68

void occRasterizer::clear       ()
{
    //u32 size          = occ_dim*occ_dim*sizeof(float); <- asses violation
    u32 size            = occ_dim*occ_dim; // <- fixed
    float f             = 1.f;
    MemFill32(bufFrame,0,size);
    MemFill32(bufDepth,*LPDWORD(&f),size);
}

вызывается из CHOM::Render при загрузке уровня после Loading HOM
и игра вылетает.

Metadata

Metadata

Assignees

Labels

BugThe issue in the run-time.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions