Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Make vsync optional

Open
#175 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
cpp

Research direction

Start in gl_engine.cpp around line 1681 and inspect how the GLFW swap interval is configured. Make the existing vsync behavior optional, then verify that a simulation loop can run faster than the display refresh rate when vsync is not enabled.

Written by the indexing model from the issue text.

Description

enhancement

Right now it's always enabled, but this stops simulation loops from running faster than the refresh rate.

On line 1681 of gl_engine.cpp:
glfwSwapInterval(1); // Enable vsync

Dominant language
C++
Stars
2.2k
Forks
242
Avg merge
11m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nmwsharp/polyscope

All issues in nmwsharp/polyscope

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.