summaryrefslogtreecommitdiff
path: root/src/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/sequence.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/sequence.h b/src/gpu/sequence.h
index 4592082..04482fb 100644
--- a/src/gpu/sequence.h
+++ b/src/gpu/sequence.h
@@ -71,6 +71,9 @@ class NodeRegistry {
void set_external_view(const std::string& name, WGPUTextureView view);
+ int default_width() const { return default_width_; }
+ int default_height() const { return default_height_; }
+
private:
WGPUDevice device_;
int default_width_;