Skip to main content

Questions tagged [win32]

Filter by
Sorted by
Tagged with
0 votes
1 answer
224 views

I'm trying to create a simple-ish game/engine/framework thing in C++, and I'm trying to come up with my own code instead of following a tutorial so I can learn to do it in a freer and more hands-on ...
whitecloth's user avatar
2 votes
1 answer
482 views

Let's say I want to enable debug layers for a Direct3D 12 renderer, for which I need to create a ID3D12Debug object. Problem is, there are 6 different version of ...
marked-off-topic's user avatar
0 votes
1 answer
319 views

I'm working on a basic Vulkan renderer that's presently relying on Win32 raw mouse input for camera pitch and yaw. It's all very basic, but what I've noticed is that at higher frame rates, I'm ...
pdm's user avatar
  • 103
3 votes
1 answer
345 views

I was developing a graphics engine from scratch using Direct3D11 and some APIs, but I stumbled in a situation where it would beneficial to me to use a certain library, but it's binaries are only ...
Rafael Ferreira's user avatar
1 vote
1 answer
338 views

When my game window is hidden say by minimising it or hitting Ctrl, Alt, Del. I get the DXGI error: 0x087A0001 : The Present operation was invisible to the user. I've tried wrapping the present ...
Samuel Campbell's user avatar
1 vote
1 answer
546 views

Based on the news today of Microsoft allowing Win32 games on the Windows store, what does it mean that Win32 can be used for games now? Couldn't Windows 10 already play Win32 games? or is this ...
johnny's user avatar
  • 271
1 vote
1 answer
2k views

I am using Windows 7 x64 and Visual Studio 17 (v15.9.7). Say I try to create a swap chain using IDXGIFactory2::CreateSwapChainForHwnd and pass in ...
strNOcat's user avatar
  • 119
3 votes
1 answer
1k views

My game needs to behave differently to get the best performance if the user disables vsync globally (basically, I need to change the scheduling on my housekeeping operations). Is there a graphics ...
Andy Krouwel's user avatar
1 vote
1 answer
836 views

I'm not sure distortion is the right way to describe this. I've uploaded a video to show you guys. Apologies if it's long, but I wanted to show the code as well as posting it here. https://youtu.be/...
vexe's user avatar
  • 342
0 votes
1 answer
1k views

I'm making an application that uses Win32 API on Windows but I want to support linux distros too. Some people say linux doesn't have a native GUI API like Win32 API of Windows. But I found XLib and ...
2. Elmırettin's user avatar
0 votes
1 answer
332 views

I'm still a beginner, the example on skaslev's site require us to use glut as an interface to create a window. For some reason, I'm required to create a window purely with Win32 api, but I am not ...
kimnod's user avatar
  • 119
2 votes
0 answers
139 views

If I change thread affinity and then create the window used in my OpenGL game it changes the thread affinity to something else. I tracked down the exact API call (...
Jason Grey's user avatar
2 votes
1 answer
9k views

I'm building an editor. Is it possible to create a child window of SDL2 within a Win32 gui? (The most obvious page from SDLTutorials works for earlier versions of SDL)
ChocoMan's user avatar
  • 743
2 votes
1 answer
277 views

i'm was revising some code i wrote some time ago when working on the window wrapper for my rendering framework. The framework is based off DirectX, but it wasn't really using any D3D-related facility. ...
Edoardo Dominici's user avatar
-1 votes
1 answer
1k views

The program compiles and runs successfully but does not show a window, it simply ends immediately. ...
MomentumGaming's user avatar
14 votes
1 answer
3k views

XNA stops calling Update and Draw while the game window is being resized or moved. Why? Is there a way to prevent this ...
Andrew Russell's user avatar
0 votes
1 answer
8k views

I get the following error(s) on my program that captures the mouse and then draws a line. Errors: ...
random's user avatar
  • 1
8 votes
3 answers
444 views

I've noticed in the initialization process of the original Quake the following function is called. ...
Philip's user avatar
  • 602
-2 votes
3 answers
2k views

Why does almost every book on OpenGL teach or discuss the API in the context of Win32 API? Is Win32 API necessary to learn OpenGL Game Programming?
user avatar
6 votes
2 answers
18k views

I can't find any information on glCreateContextAttribsARB returning errors if a version is unsuported by the driver. So how do i check if it is? I don't want the program to hard crash because ...
dreta's user avatar
  • 3,524