256{
257 std::string path = ShowOpenFileDialog(".png");
258
259 if (path.size() < 3)
260 {
261 return;
262 }
263
264 isDefault = false;
265 delete texture;
266 texture =
new Texture2D(path,
true,
false);
267 texture->Resize(256, 256);
268 Log("Loaded Texture : " + texture->GetPath());
269}