Changeset 346 for trunk/win32

Show
Ignore:
Timestamp:
08/22/10 00:22:33 (1 year ago)
Author:
CyberShadow
Message:

Committing part of SHOO's patch from ticket #3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/win32/directx/d3d10.d

    r310 r346  
    1313public import win32.directx.dxgi; 
    1414public import win32.directx.d3d10misc; 
    15 public import win32.directx.d3d10shader; 
    16 public import win32.directx.d3d10effect; 
    1715 
    1816pragma(lib, "d3d10.lib"); 
     
    11211119    void CopyResource(ID3D10Resource pDstResource, ID3D10Resource pSrcResource); 
    11221120    void UpdateSubresource(ID3D10Resource pDstResource, UINT DstSubresource, D3D10_BOX* pDstBox, void* pSrcData, UINT SrcRowPitch, UINT SrcDepthPitch); 
    1123     void ClearRenderTargetView(ID3D10RenderTargetView pRenderTargetView, FLOAT[4] ColorRGBA); 
     1121    void ClearRenderTargetView(ID3D10RenderTargetView pRenderTargetView, FLOAT[4]* ColorRGBA); 
    11241122    void ClearDepthStencilView(ID3D10DepthStencilView pDepthStencilView, UINT ClearFlags, FLOAT Depth, UINT8 Stencil); 
    11251123    void GenerateMips(ID3D10ShaderResourceView pShaderResourceView); 
     
    12281226extern(C) const GUID IID_ID3D10Multithread          = {0x9B7E4E00, 0x342C, 0x4106, [0xA1, 0x9F, 0x4F, 0x27, 0x04, 0xF6, 0x89, 0xF0]}; 
    12291227 
     1228public import win32.directx.d3d10shader; 
     1229public import win32.directx.d3d10effect; 
  • trunk/win32/directx/d3d10effect.d

    r241 r346  
    1111private import win32.directx.d3d10; 
    1212 
    13 // some forward references... 
    14 enum D3D10_SHADER_VARIABLE_CLASS; 
    15 enum D3D10_SHADER_VARIABLE_TYPE; 
    1613 
    1714enum D3D10_DEVICE_STATE_TYPES { 
  • trunk/win32/directx/d3d10shader.d

    r241 r346  
    1111private import win32.directx.d3d10; 
    1212 
    13 // some forward references... 
    14 enum D3D10_PRIMITIVE_TOPOLOGY; 
    15 enum D3D10_SRV_DIMENSION; 
    1613 
    1714uint D3D10_TX_VERSION(uint _Major, uint _Minor) { 
  • trunk/win32/winldap.d

    r295 r346  
    454454 * This macro uses LDAP structure to get error string and pass it to the user. 
    455455 */ 
     456private extern (C) int printf(in char* format, ...);  
    456457int ldap_perror(LDAP* handle, char* message) { 
    457458    return printf("%s: %s\n", message, handle.ld_error);