mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 10:10:23 +01:00
st/egl: Remove native_config::samples.
Multisample buffers are never requested.
This commit is contained in:
parent
3a93c34828
commit
975b7ef92a
3 changed files with 1 additions and 5 deletions
|
|
@ -226,8 +226,6 @@ init_config_attributes(_EGLConfig *conf, const struct native_config *nconf,
|
|||
}
|
||||
|
||||
conf->Level = nconf->level;
|
||||
conf->Samples = nconf->samples;
|
||||
conf->SampleBuffers = 0;
|
||||
|
||||
if (nconf->transparent_rgb) {
|
||||
conf->TransparentType = EGL_TRANSPARENT_RGB;
|
||||
|
|
@ -275,7 +273,7 @@ egl_g3d_init_config(_EGLDriver *drv, _EGLDisplay *dpy,
|
|||
gconf->stvis.color_format = nconf->color_format;
|
||||
gconf->stvis.depth_stencil_format = depth_stencil_format;
|
||||
gconf->stvis.accum_format = PIPE_FORMAT_NONE;
|
||||
gconf->stvis.samples = nconf->samples;
|
||||
gconf->stvis.samples = 0;
|
||||
|
||||
gconf->stvis.render_buffer = (buffer_mask & ST_ATTACHMENT_BACK_LEFT_MASK) ?
|
||||
ST_ATTACHMENT_BACK_LEFT : ST_ATTACHMENT_FRONT_LEFT;
|
||||
|
|
|
|||
|
|
@ -126,7 +126,6 @@ struct native_config {
|
|||
int native_visual_id;
|
||||
int native_visual_type;
|
||||
int level;
|
||||
int samples;
|
||||
boolean transparent_rgb;
|
||||
int transparent_rgb_values[3];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -588,7 +588,6 @@ dri2_display_convert_config(struct native_display *ndpy,
|
|||
nconf->native_visual_id = mode->visualID;
|
||||
nconf->native_visual_type = mode->visualType;
|
||||
nconf->level = mode->level;
|
||||
nconf->samples = mode->samples;
|
||||
|
||||
if (mode->transparentPixel == GLX_TRANSPARENT_RGB) {
|
||||
nconf->transparent_rgb = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue