• Oliver Stieber's avatar
    Encapsulate texture, surface encapsulated. · ba5eb147
    Oliver Stieber authored
    Added BindTexture, GetTextureDimensions, UnBindTexture.
    Proper GetContainer support for surface.
    SetContainer added to surface and volume.
    SetInPbufferState added to surface (until gl context management is
    implemented).
    Minor changes:
    - BaseTexture no longer 'holds' a reference to IWineD3DDevice to
      prevent circular referencing.
    - Better managment of referinging for texture.
    - Some TODO's for implementing a context manager.
    - Better preload implementation.
    - Fix compile warning in device.c Set/GetSamplerState.
    - Add QueryInterface support for surface.
    - Format X8R8G8B8 added to locking.
    ba5eb147
basetexture.c 9.22 KB