Introduce new timer based on vsync
This commit is contained in:
@@ -16,11 +16,13 @@ namespace JabyEngine {
|
||||
namespace GPU {
|
||||
struct Display {
|
||||
#ifdef JABYENGINE_PAL
|
||||
static constexpr size_t Width = 320;
|
||||
static constexpr size_t Height = 256;
|
||||
static constexpr size_t Width = 320;
|
||||
static constexpr size_t Height = 256;
|
||||
static constexpr uint32_t frames_per_sec = 50;
|
||||
#else
|
||||
static constexpr size_t Width = 320;
|
||||
static constexpr size_t Height = 240;
|
||||
static constexpr size_t Width = 320;
|
||||
static constexpr size_t Height = 240;
|
||||
static constexpr uint32_t frames_per_sec = 50;
|
||||
#endif
|
||||
|
||||
static uint8_t current_id;
|
||||
|
Reference in New Issue
Block a user