Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
durkisneer1 authored Nov 14, 2023

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
1 parent a88a47a commit 4b52ba3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -19,12 +19,11 @@ int main() {
dk::RenderWindow window({ 800, 600 }, "DurkGame App");
dk::time::Clock clock;

SDL_Event event;
bool run = true;
while (run) {
float deltaTime = clock.tick(60) / 1000.0f;

while (SDL_PollEvent(&event)) {
for (const auto& event : window.getEvents()) {
switch (event.type) {
case SDL_QUIT:
run = false;

0 comments on commit 4b52ba3

Please sign in to comment.