You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following README file instructions. I am at the point where README file show first examples:
Standard SDL2 API is available in procedural style:
$window = SDL_CreateWindow( "Foo window", 500, 50, 350, 300, SDL_WINDOW_SHOWN+SDL_WINDOW_RESIZABLE);
SDL_SetWindowTitle($window, "Some new title");
SDL_DestroyWindow($window);
And is also available in object oriented style:
$window = new SDL_Window( "Foo window", 100, 50, 350, 300, SDL_Window::SHOWN|SDL_Window::RESIZABLE);
$window->SetTitle("Some new title");
unset($window); // will destroy the window
In both cases I do not see anything. In my dock I see an icon for a millisecond. The it disappear and nothing happens.
Here my php version:
PHP 8.1.2 (cli) (built: Jan 21 2022 04:46:45) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies
The text was updated successfully, but these errors were encountered:
I am following README file instructions. I am at the point where README file show first examples:
In both cases I do not see anything. In my dock I see an icon for a millisecond. The it disappear and nothing happens.
Here my php version:
The text was updated successfully, but these errors were encountered: