diff options
author | Pekka Paalanen <[email protected]> | 2014-08-14 21:17:04 +0300 |
---|---|---|
committer | Pekka Paalanen <[email protected]> | 2014-08-14 21:30:57 +0300 |
commit | 972e87ca30b4c4b7f6269e5f9fe8c5cb6356f744 (patch) | |
tree | 8163b2822e125e1301bd32e3aa1856bac4615326 /src/egl | |
parent | 9b9dd22f4448da6a6e825faaa40cd601b6fb2b59 (diff) |
i965: fix compiler error in union initiliazer
gcc 4.6.3 chokes with the following error:
brw_vec4.cpp: In member function 'int brw::vec4_visitor::setup_uniforms(int)':
brw_vec4.cpp:1496:37: error: expected primary-expression before '.' token
Apparently C++ does not do named initializers for unions, except maybe
as a gcc extension, which is not present here.
As .f is the first element of the union, just drop it. Fixes the build
error.
Signed-off-by: Pekka Paalanen <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/egl')
0 files changed, 0 insertions, 0 deletions