Message ID | 20110802160323.31633.51054.launchpad@loganberry.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'src/scene-effect-2d.cpp' --- src/scene-effect-2d.cpp 2011-08-02 14:28:18 +0000 +++ src/scene-effect-2d.cpp 2011-08-02 16:01:29 +0000 @@ -310,8 +310,8 @@ static const std::string vtx_shader_filename(GLMARK_DATA_PATH"/shaders/effect-2d.vert"); std::vector<float> kernel; - unsigned int kernel_width; - unsigned int kernel_height; + unsigned int kernel_width = 0; + unsigned int kernel_height = 0; /* Parse the kernel matrix from the options */ if (!parse_matrix(mOptions["kernel"].value, kernel,