Hello, I have created a project in Visual Studio 2019, configured SFML, confirmed it was working with the example drawing of a simple texture. Right now, I am getting an error:
"Exception thrown at 0x00007FFC0A282B19 (sfml-graphics-d-2.dll) in sfml-app.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF. occurred" and I do not understand why. I have attached my code - the part that causes this in main.cpp - lines 47-52, 57-58. Seems like it is somehow connected to the vector, but I can't figure out the cause.
Please help me!