Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

It is possible to erase lines with Debug_DrawSurfaceArea(0).
(This is a function to check the area where the object exists)

Of course, if you do so, the display order will be out of order, which is the problem in this case.
It is also unexpected that the display order has been normalised by Debug_DrawSurfaceArea(1).

We'll hurry up and fix it.

I tried to leave this mode on, but with hidden lines, for this reason.

Debug_DrawSurfaceArea is an instruction to produce a line.
Function for checking the position of an object's existence.
Usage is for debugging.

If (0) is specified, the line disappears.
If (1) is set, the line is drawn.

The default is 0, so there must be an instruction somewhere that sets it to (1).

(1 edit)

Understood. It's strange that it was the lines that fixed the "set direct drawing".

This is probably due to the DirectX11 drawing system.

The line drawing process is not a process within the GPU, so the drawing is flushed at that timing and

I think the drawing data up to that point was processed in the correct order.

At any rate, thanks for the report!