[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:
@@ -387,9 +387,14 @@ typedef struct {
|
|||||||
} FlutterOpenGLTexture;
|
} FlutterOpenGLTexture;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/// The target of the color attachment of the frame-buffer. For example,
|
/// The format of the color attachment of the frame-buffer. For example,
|
||||||
/// GL_TEXTURE_2D or GL_RENDERBUFFER. In case of ambiguity when dealing with
|
/// GL_RGBA8.
|
||||||
/// Window bound frame-buffers, 0 may be used.
|
///
|
||||||
|
/// 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;
|
uint32_t target;
|
||||||
|
|
||||||
/// The name of the framebuffer.
|
/// The name of the framebuffer.
|
||||||
|
|||||||
Reference in New Issue
Block a user