mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[Embedder] Document incorrectly named field in FlutterOpenGLFramebuffer. (flutter/engine#53720)
Doesn't rename the field to maintain API compatibility. But adds a bug annotation. Fixes https://github.com/flutter/flutter/issues/148637
This commit is contained in:
parent
b6fbffe976
commit
f20ab5e458
@ -387,9 +387,14 @@ typedef struct {
|
||||
} FlutterOpenGLTexture;
|
||||
|
||||
typedef struct {
|
||||
/// The target of the color attachment of the frame-buffer. For example,
|
||||
/// GL_TEXTURE_2D or GL_RENDERBUFFER. In case of ambiguity when dealing with
|
||||
/// Window bound frame-buffers, 0 may be used.
|
||||
/// The format of the color attachment of the frame-buffer. For example,
|
||||
/// GL_RGBA8.
|
||||
///
|
||||
/// In case of ambiguity when dealing with Window bound frame-buffers, 0 may
|
||||
/// be used.
|
||||
///
|
||||
/// @bug This field is incorrectly named as "target" when it actually
|
||||
/// refers to a format.
|
||||
uint32_t target;
|
||||
|
||||
/// The name of the framebuffer.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user