Aldeia RPG

Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Suporte ao desenvolvimento de jogos


2 participantes

    Crystalshire

    avatar
    adiif1
    Novato
    Novato


    Mensagens : 11
    Créditos : 0

    Crystalshire Empty Crystalshire

    Mensagem por adiif1 Ter Out 13, 2015 8:49 pm

    Ive been getting a automation error with a bit of DirectX8 code dealing with rendering graphics to the screen, it occurs randomly at times, but almost always when you hit Ctrl+alt+delete and open task manager, then go back to the screen, which it then returns the error. Here is the code that the error occurs in...

    Código:

      If D3DDevice8.TestCooperativeLevel <> D3D_OK Then
            If D3DDevice8.TestCooperativeLevel = D3DERR_DEVICELOST Then
                Exit Sub
            End If
            Call D3DDevice8.Clear(0, ByVal 0, D3DCLEAR_TARGET, 0, 1#, 0)
            Call D3DDevice8.Reset(D3DWindow)
            Call EngineInitRenderStates
        End If

    It highlights:
    Código:

    Call D3DDevice8.Reset(D3DWindow)

    Thank you for your time in advance.
    avatar
    gui408
    Ocasional
    Ocasional


    Mensagens : 227
    Créditos : 10

    Crystalshire Empty Re: Crystalshire

    Mensagem por gui408 Qua Out 14, 2015 2:20 pm

    Olha, aqui é portugues, entao eu n vo traduzir, vc tera q traduzir para nossa linguagem, pois é assim q fazemos nas de vcs, coloque em portugues e podemos de ajudar.

      Data/hora atual: Sáb Abr 27, 2024 4:58 am