12 Mar
2007
12 Mar
'07
2:10 a.m.
Please examine the attached corrections. Erich Hoover ehoover(a)mines.edu On 3/11/07, H. Verbeet <hverbeet(a)gmail.com> wrote:
On 11/03/07, Erich Hoover <ehoover(a)mines.edu> wrote:
Is the attached what you mean?
Erich Hoover ehoover(a)mines.edu
+ if (IWineD3DSurface_LockRect(pCursorBitmap, &rect, NULL, WINED3DLOCK_READONLY) == WINED3D_OK) I know the current code doesn't do it everywhere either, but you should probably be using SUCCEEDED() there.
+ void *mem = rect.pBits; ... + glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, format, type, mem); That may work, but it's not guaranteed to, see http://msdn2.microsoft.com/en-us/library/bb206357.aspx