Merge branch 'master' of https://github.com/ChrisDill/Raylib-cs
This commit is contained in:
commit
dbb642b773
5 changed files with 73 additions and 32 deletions
|
|
@ -35,12 +35,14 @@ public partial class core_drop_files
|
|||
// Main game loop
|
||||
while (!WindowShouldClose()) // Detect window close button or ESC key
|
||||
{
|
||||
// Update
|
||||
//----------------------------------------------------------------------------------
|
||||
if (IsFileDropped())
|
||||
{
|
||||
droppedFiles = GetDroppedFiles(ref count);
|
||||
}
|
||||
// Update
|
||||
//----------------------------------------------------------------------------------
|
||||
if (IsFileDropped())
|
||||
{
|
||||
droppedFiles = GetDroppedFiles();
|
||||
count = droppedFiles.Length;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
// Draw
|
||||
|
|
|
|||
Loading…
Reference in a new issue