On 09/05/14 15:50, Henri Verbeet wrote:
-static D2D1_COLOR_F STDMETHODCALLTYPE d2d_solid_color_brush_GetColor(ID2D1SolidColorBrush *iface) +static void STDMETHODCALLTYPE d2d_solid_color_brush_GetColor(ID2D1SolidColorBrush *iface, D2D1_COLOR_F *color) { static const D2D1_COLOR_F black = {0.0f, 0.0f, 0.0f, 1.0f};
FIXME("iface %p stub!\n", iface);
- return black;
- *color = black; }
Shouldn't it return pointer to D2D1_COLOR_F?
On 5 September 2014 16:03, Piotr Caban piotr.caban@gmail.com wrote:
On 09/05/14 15:50, Henri Verbeet wrote:
-static D2D1_COLOR_F STDMETHODCALLTYPE d2d_solid_color_brush_GetColor(ID2D1SolidColorBrush *iface) +static void STDMETHODCALLTYPE d2d_solid_color_brush_GetColor(ID2D1SolidColorBrush *iface, D2D1_COLOR_F *color) { static const D2D1_COLOR_F black = {0.0f, 0.0f, 0.0f, 1.0f};
FIXME("iface %p stub!\n", iface);
- return black;
- *color = black; }
Shouldn't it return pointer to D2D1_COLOR_F?
Not as far as I'm aware.
Henri Verbeet hverbeet@gmail.com writes:
On 5 September 2014 16:03, Piotr Caban piotr.caban@gmail.com wrote:
On 09/05/14 15:50, Henri Verbeet wrote:
-static D2D1_COLOR_F STDMETHODCALLTYPE d2d_solid_color_brush_GetColor(ID2D1SolidColorBrush *iface) +static void STDMETHODCALLTYPE d2d_solid_color_brush_GetColor(ID2D1SolidColorBrush *iface, D2D1_COLOR_F *color) { static const D2D1_COLOR_F black = {0.0f, 0.0f, 0.0f, 1.0f};
FIXME("iface %p stub!\n", iface);
- return black;
- *color = black; }
Shouldn't it return pointer to D2D1_COLOR_F?
Not as far as I'm aware.
Yes, it should.