mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Java VideoMode: Provide PixelFormat-taking constructor.
This commit is contained in:
@@ -34,6 +34,13 @@ public class VideoMode {
|
||||
this.fps = fps;
|
||||
}
|
||||
|
||||
public VideoMode(PixelFormat pixelFormat, int width, int height, int fps) {
|
||||
this.pixelFormat = pixelFormat;
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.fps = fps;
|
||||
}
|
||||
|
||||
/// Pixel format
|
||||
public PixelFormat pixelFormat;
|
||||
/// Width in pixels
|
||||
|
||||
Reference in New Issue
Block a user