luis605 / Lit-Engine

A game engine with the speed and portability of cpp made with raylib.
Other
26 stars 1 forks source link

When you press play, the images turn black. #46

Closed WOLFxxxxxx closed 2 days ago

WOLFxxxxxx commented 2 days ago

a1

a2

luis605 commented 2 days ago

The issue when assigning entitiesListPregame to entitiesList. The copy constructor would be called which would call surface material's clean up function inside the copy constructor. I commented out the code because it may need to be re-added with a special condition to prevent issues like these.

luis605 commented 2 days ago

Closing as solved-