Skip to content

Commit

Permalink
egl_sys: Drop duplicate manual definition of (EGL_)TEXTURE_FORMAT (#…
Browse files Browse the repository at this point in the history
…1683)

The generated code already defines `TEXTURE_FORMAT` to `0x3080` with the
usual `EGL_` prefix stripped; we shouldn't be redefining it (with this
unnecessary prefix) in manual code.
  • Loading branch information
MarijnS95 authored and kchibisov committed Jun 8, 2024
1 parent 61ce695 commit 9955cba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions glutin_egl_sys/src/egl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ pub const TEXTURE_Y_U_V_WL: i32 = 0x31D7;
pub const TEXTURE_Y_UV_WL: i32 = 0x31D8;
pub const TEXTURE_Y_XUXV_WL: i32 = 0x31D9;
pub const TEXTURE_EXTERNAL_WL: i32 = 0x31DA;
// Accepted in the <attribute> parameter of eglQueryWaylandBufferWL.
pub const EGL_TEXTURE_FORMAT: i32 = 0x3080;
pub const WAYLAND_Y_INVERTED_WL: i32 = 0x31DB;

#[allow(non_snake_case)]
Expand Down

0 comments on commit 9955cba

Please sign in to comment.