Skip to content

Commit

Permalink
Fixed compile error due to uninitialized variable.
Browse files Browse the repository at this point in the history
TBR=apatrick@chromium.org
Review URL: http://codereview.chromium.org/5785005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69189 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
alokp@chromium.org committed Dec 14, 2010
1 parent 848826b commit 1eb8f43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/mesa/MesaLib/src/egl/main/eglconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ _eglValidateConfig(const _EGLConfig *conf, EGLBoolean for_matching)

/* check attributes by their types */
for (i = 0; i < ARRAY_SIZE(_eglValidationTable); i++) {
EGLint mask;
EGLint mask = 0;

attr = _eglValidationTable[i].attr;
val = GET_CONFIG_ATTRIB(conf, attr);
Expand Down
2 changes: 2 additions & 0 deletions third_party/mesa/README.chromium
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,5 @@ Later modifications (see chromium.patch):

- Guarded all usage of EGL_Y_INVERTED_NOK with EGL_NOK_texture_from_pixmap
so that it can be compiled against standard EGL 1.4 headers.

- Initialized uninitialized mask variable in eglconfig.c line 245.

0 comments on commit 1eb8f43

Please sign in to comment.